diff options
author | Nathaniel J. Smith <njs@pobox.com> | 2015-12-30 03:01:03 -0800 |
---|---|---|
committer | Nathaniel J. Smith <njs@pobox.com> | 2015-12-30 05:43:43 -0800 |
commit | a61ddd3812cc95f9c9e6eeac7f8bcfb92130f978 (patch) | |
tree | eda1bbe23db037bf224179400eaade20266afe22 /numpy/__init__.py | |
parent | 237ab4398ac880be30fc262e7bf6163e9baff921 (diff) | |
download | numpy-a61ddd3812cc95f9c9e6eeac7f8bcfb92130f978.tar.gz |
[TST] Refactor new raise_warnings logic for subpackage test suites
Diffstat (limited to 'numpy/__init__.py')
-rw-r--r-- | numpy/__init__.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/numpy/__init__.py b/numpy/__init__.py index 5fda535f2..0fcd5097d 100644 --- a/numpy/__init__.py +++ b/numpy/__init__.py @@ -184,13 +184,11 @@ else: pkgload.__doc__ = PackageLoader.__call__.__doc__ + # We don't actually use this ourselves anymore, but I'm not 100% sure that + # no-one else in the world is using it (though I hope not) from .testing import Tester - if ".dev0" in __version__: - test = Tester(raise_warnings="develop").test - bench = Tester(raise_warnings="develop").bench - else: - test = Tester(raise_warnings="release").test - bench = Tester(raise_warnings="release").bench + test = testing.nosetester._numpy_tester().test + bench = testing.nosetester._numpy_tester().bench from . import core from .core import * |