Skip to content
Browse files

TST: also filter Cython warnings in NoseTester. See PR-432.

There a resetwarnings() call, so need to add back these filters.
  • Loading branch information...
1 parent 067b5f8 commit 9f1b8721dc2e1b69112fa5b94b3a70b37661cc84 @rgommers rgommers committed Nov 21, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 numpy/testing/
2 numpy/testing/
@@ -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")
from noseclasses import NumpyTestProgram

0 comments on commit 9f1b872

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