Skip to content

Commit

Permalink
Merge pull request #2758 from rgommers/cython-warnings
Browse files Browse the repository at this point in the history
TST: also filter Cython warnings in NoseTester.  See PR-432.
  • Loading branch information
rgommers committed Nov 26, 2012
2 parents f836638 + 9f1b872 commit b209e19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions numpy/testing/nosetester.py
Expand Up @@ -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
Expand Down

0 comments on commit b209e19

Please sign in to comment.