summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_io.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-04-07 08:46:17 -0600
committerGitHub <noreply@github.com>2018-04-07 08:46:17 -0600
commitb8e8a6ee1f032474a0119fa0c0a6dfb51355abd6 (patch)
treeeed415032968944399ee7686a31c23c0a5401317 /numpy/lib/tests/test_io.py
parent6623dbf3c61ac3dc19a6f226f1cb6f7e9011ad76 (diff)
parentf45ceeac888fad366e68fef96b041cad2f420180 (diff)
downloadnumpy-b8e8a6ee1f032474a0119fa0c0a6dfb51355abd6.tar.gz
Merge pull request #10858 from charris/post-pytest-cleanup
MAINT: Post pytest switch cleanup
Diffstat (limited to 'numpy/lib/tests/test_io.py')
-rw-r--r--numpy/lib/tests/test_io.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/numpy/lib/tests/test_io.py b/numpy/lib/tests/test_io.py
index 0a032ce12..06c57d49c 100644
--- a/numpy/lib/tests/test_io.py
+++ b/numpy/lib/tests/test_io.py
@@ -21,9 +21,9 @@ from numpy.lib._iotools import ConverterError, ConversionWarning
from numpy.compat import asbytes, bytes, unicode, Path
from numpy.ma.testutils import assert_equal
from numpy.testing import (
- run_module_suite, assert_warns, assert_, SkipTest, assert_raises_regex,
- assert_raises, assert_allclose, assert_array_equal, temppath, tempdir,
- IS_PYPY, HAS_REFCOUNT, suppress_warnings,
+ assert_warns, assert_, SkipTest, assert_raises_regex, assert_raises,
+ assert_allclose, assert_array_equal, temppath, tempdir, IS_PYPY,
+ HAS_REFCOUNT, suppress_warnings,
)
@@ -2380,6 +2380,3 @@ def test_load_refcount():
finally:
gc.enable()
assert_equal(n_objects_in_cycles, 0)
-
-if __name__ == "__main__":
- run_module_suite()