summaryrefslogtreecommitdiff
path: root/numpy/compat
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-04-04 10:33:07 -0600
committerCharles Harris <charlesr.harris@gmail.com>2018-04-06 18:20:56 -0600
commit7bf0564f87511d9e7b6287b3eec0857d0d7742df (patch)
tree0f61ebbad4144e802a8966015741b2d309be696e /numpy/compat
parent036151143bff1eebeded5582534e676a192352cd (diff)
downloadnumpy-7bf0564f87511d9e7b6287b3eec0857d0d7742df.tar.gz
MAINT: Remove all uses of run_module_suite.
That function is nose specific and has not worked since `__init__` files were added to the tests directories.
Diffstat (limited to 'numpy/compat')
-rw-r--r--numpy/compat/tests/test_compat.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/numpy/compat/tests/test_compat.py b/numpy/compat/tests/test_compat.py
index b91971d38..1543aafaf 100644
--- a/numpy/compat/tests/test_compat.py
+++ b/numpy/compat/tests/test_compat.py
@@ -3,7 +3,7 @@ from __future__ import division, absolute_import, print_function
from os.path import join
from numpy.compat import isfileobj
-from numpy.testing import assert_, run_module_suite
+from numpy.testing import assert_
from numpy.testing import tempdir
@@ -19,7 +19,3 @@ def test_isfileobj():
with open(filename, 'rb') as f:
assert_(isfileobj(f))
-
-
-if __name__ == "__main__":
- run_module_suite()