diff options
Diffstat (limited to 'numpy/testing/nosetester.py')
| -rw-r--r-- | numpy/testing/nosetester.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/testing/nosetester.py b/numpy/testing/nosetester.py index e3f96b9a9..f1ebd2265 100644 --- a/numpy/testing/nosetester.py +++ b/numpy/testing/nosetester.py @@ -11,6 +11,7 @@ import sys import warnings import numpy.testing.utils from numpy.compat import basestring +from numpy import ModuleDeprecationWarning def get_package_name(filepath): """ @@ -378,6 +379,7 @@ class NoseTester(object): warnings.filterwarnings('ignore', message='Not importing directory') warnings.filterwarnings("ignore", message="numpy.dtype size changed") warnings.filterwarnings("ignore", message="numpy.ufunc size changed") + warnings.filterwarnings("ignore", category=ModuleDeprecationWarning) try: from .noseclasses import NumpyTestProgram |
