8000
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 333136b commit 7f9f606Copy full SHA for 7f9f606
lib/matplotlib/__init__.py
@@ -1484,6 +1484,9 @@ def tk C30D _window_focus():
1484
1485
1486
def verify_test_dependencies():
1487
+ if not os.path.isdir(os.path.join(os.path.dirname(__file__), 'tests')):
1488
+ raise ImportError("matplotlib test data is not installed")
1489
+
1490
try:
1491
import nose
1492
tests.py
@@ -45,6 +45,10 @@ def run(extra_args):
45
else:
46
faulthandler.enable()
47
48
+ if not os.path.isdir(
49
+ os.path.join(os.path.dirname(matplotlib.__file), 'tests')):
50
51
52
nose.main(addplugins=[x() for x in plugins],
53
defaultTest=default_test_modules,
54
argv=sys.argv + extra_args)
0 commit comments