[Numpy-svn] [numpy/numpy] 08c20a: TST: filter ImportWarnings in NoseTester.

GitHub noreply@github....
Sun Apr 15 12:10:31 CDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 08c20a2c23397eed0923e9ca768b4fe26c244730
      https://github.com/numpy/numpy/commit/08c20a2c23397eed0923e9ca768b4fe26c244730
  Author: Ralf Gommers <ralf.gommers@googlemail.com>
  Date:   2012-04-14 (Sat, 14 Apr 2012)

  Changed paths:
    M numpy/testing/nosetester.py

  Log Message:
  -----------
  TST: filter ImportWarnings in NoseTester.

Warnings show up when a directory with the same name as a Python file or
compiled extension is seen which doesn't have an __init__.py file in it.  This
situation is very common, for example in SciPy where many extensions are
created from source files located under a directory with the same name.

This filter is located within a context manager, so only filters when running
tests.


  Commit: 913e55dddeb922168da56706d2d414dd746eddea
      https://github.com/numpy/numpy/commit/913e55dddeb922168da56706d2d414dd746eddea
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2012-04-15 (Sun, 15 Apr 2012)

  Changed paths:
    M numpy/testing/nosetester.py

  Log Message:
  -----------
  Merge pull request #251 from rgommers/no-importwarnings

TST: filter ImportWarnings in NoseTester.


Compare: https://github.com/numpy/numpy/compare/9dfda59...913e55d


More information about the Numpy-svn mailing list