diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2018-07-01 15:23:07 -0700 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2018-07-02 09:08:48 -0700 |
commit | 11302b66fec3e9f64e0eb77075344acec65d2c0f (patch) | |
tree | 06a4f77bad2bc17efb147b8b47d8362262720bf5 /numpy/__init__.py | |
parent | a72611971cbcbaf7a553f1bf8eec647694e61b94 (diff) | |
download | numpy-11302b66fec3e9f64e0eb77075344acec65d2c0f.tar.gz |
MAINT: Move pytesttester outside of np.testing, to avoid creating unnecessary import dependencies
pytesttester is used by every single subpackage, so making it depend on np.testing just creates cyclic dependencies that can lead to circular imports
Relates to #11457
Diffstat (limited to 'numpy/__init__.py')
-rw-r--r-- | numpy/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/__init__.py b/numpy/__init__.py index 77b1d924d..c4232dcb3 100644 --- a/numpy/__init__.py +++ b/numpy/__init__.py @@ -191,7 +191,7 @@ else: from .testing import Tester # Pytest testing - from numpy.testing._private.pytesttester import PytestTester + from numpy._pytesttester import PytestTester test = PytestTester(__name__) del PytestTester |