diff options
Diffstat (limited to 'numpy/testing/nosetester.py')
-rw-r--r-- | numpy/testing/nosetester.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/testing/nosetester.py b/numpy/testing/nosetester.py index 847d7439a..950cb5436 100644 --- a/numpy/testing/nosetester.py +++ b/numpy/testing/nosetester.py @@ -360,6 +360,9 @@ class NoseTester(object): # If deprecation warnings are not set to 'error' below, # at least set them to 'warn'. warnings.filterwarnings('always', category=DeprecationWarning) + warnings.filterwarnings('ignore', + message='Not importing directory', + category=ImportWarning) # Force the requested warnings to raise for warningtype in raise_warnings: warnings.filterwarnings('error', category=warningtype) |