##// END OF EJS Templates
Properly don't require numpy to run tests....
Properly don't require numpy to run tests. Import explicitly instead of *-import to make sure we do not use non-mocked features. And skip tests that would actually require numpy. Make it easier to test on nightly when numpy is hard to build. Closes #11709

File last commit:

r25029:e1b53e9e
r25029:e1b53e9e
Show More
__init__.py
8 lines | 247 B | text/x-python | PythonLexer
try:
from numpy.testing.noseclasses import KnownFailure, knownfailureif
except ImportError:
from ._decorators import knownfailureif
try:
from ._numpy_testing_noseclasses import KnownFailure
except ImportError:
pass