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/lib | |
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/lib')
-rw-r--r-- | numpy/lib/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/__init__.py b/numpy/lib/__init__.py index d764cdc7e..dc40ac67b 100644 --- a/numpy/lib/__init__.py +++ b/numpy/lib/__init__.py @@ -46,6 +46,6 @@ __all__ += financial.__all__ __all__ += nanfunctions.__all__ __all__ += histograms.__all__ -from numpy.testing._private.pytesttester import PytestTester +from numpy._pytesttester import PytestTester test = PytestTester(__name__) del PytestTester |