Skip to content
Browse files

Merge pull request #2758 from rgommers/cython-warnings

TST: also filter Cython warnings in NoseTester.  See PR-432.
  • Loading branch information...
2 parents f836638 + 9f1b872 commit b209e190994c31b95bba3acf9936c451a01e1e31 @rgommers rgommers committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 numpy/testing/nosetester.py
View
2 numpy/testing/nosetester.py
@@ -365,6 +365,8 @@ def test(self, label='fast', verbose=1, extra_argv=None,
warnings.filterwarnings('error', category=warningtype)
# Filter out annoying import messages.
warnings.filterwarnings('ignore', message='Not importing directory')
+ warnings.filterwarnings("ignore", message="numpy.dtype size changed")
+ warnings.filterwarnings("ignore", message="numpy.ufunc size changed")
try:
from noseclasses import NumpyTestProgram

0 comments on commit b209e19

Please sign in to comment.
Something went wrong with that request. Please try again.