Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
MAINT: Remove "bench" from testing modules __init__s.
The "bench" testing with the old bench files is no longer supported.
These days we use `runtests.py` and `asv`.
  • Loading branch information
charris committed Mar 31, 2018
commit 6126789e4addb609b6c99e46a338f5b0bb6f9be3
1 change: 0 additions & 1 deletion numpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ def pkgload(*packages, **options):
# no-one else in the world is using it (though I hope not)
from .testing import Tester, _numpy_tester
test = _numpy_tester().test
bench = _numpy_tester().bench

# Allow distributors to run custom init code
from . import _distributor_init
Expand Down
1 change: 0 additions & 1 deletion numpy/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@

from numpy.testing import _numpy_tester
test = _numpy_tester().test
bench = _numpy_tester().bench

# Make it possible so that ufuncs can be pickled
# Here are the loading and unloading functions
Expand Down
1 change: 0 additions & 1 deletion numpy/f2py/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,3 @@ def compile(source,

from numpy.testing import _numpy_tester
test = _numpy_tester().test
bench = _numpy_tester().bench
1 change: 0 additions & 1 deletion numpy/fft/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@

from numpy.testing import _numpy_tester
test = _numpy_tester().test
bench = _numpy_tester().bench
1 change: 0 additions & 1 deletion numpy/lib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,3 @@

from numpy.testing import _numpy_tester
test = _numpy_tester().test
bench = _numpy_tester().bench
1 change: 0 additions & 1 deletion numpy/linalg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,3 @@

from numpy.testing import _numpy_tester
test = _numpy_tester().test
bench = _numpy_tester().bench
1 change: 0 additions & 1 deletion numpy/ma/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,3 @@

from numpy.testing import _numpy_tester
test = _numpy_tester().test
bench = _numpy_tester().bench
1 change: 0 additions & 1 deletion numpy/matrixlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@

from numpy.testing import _numpy_tester
test = _numpy_tester().test
bench = _numpy_tester().bench
1 change: 0 additions & 1 deletion numpy/polynomial/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@

from numpy.testing import _numpy_tester
test = _numpy_tester().test
bench = _numpy_tester().bench
1 change: 0 additions & 1 deletion numpy/random/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,3 @@ def __RandomState_ctor():

from numpy.testing import _numpy_tester
test = _numpy_tester().test
bench = _numpy_tester().bench