We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a736c4a commit 5a57b60Copy full SHA for 5a57b60
conftest.py
lib/matplotlib/tests/conftest.py
@@ -8,6 +8,15 @@
8
from matplotlib.testing import _conversion_cache as ccache
9
10
11
+def pytest_addoption(parser):
12
+ group = parser.getgroup("matplotlib", "matplotlib custom options")
13
+ group.addoption("--conversion-cache-max-size", action="store",
14
+ help="conversion cache maximum size in bytes")
15
+ group.addoption("--conversion-cache-report-misses",
16
+ action="store_true",
17
+ help="report conversion cache misses")
18
+
19
20
def pytest_configure(config):
21
matplotlib.use('agg')
22
matplotlib._called_from_pytest = True
0 commit comments