summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_recfunctions.py
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/lib/tests/test_recfunctions.py
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/lib/tests/test_recfunctions.py')
-rw-r--r--numpy/lib/tests/test_recfunctions.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/numpy/lib/tests/test_recfunctions.py b/numpy/lib/tests/test_recfunctions.py
index e1b62d46a..219ae24fa 100644
--- a/numpy/lib/tests/test_recfunctions.py
+++ b/numpy/lib/tests/test_recfunctions.py
@@ -6,9 +6,7 @@ import numpy as np
import numpy.ma as ma
from numpy.ma.mrecords import MaskedRecords
from numpy.ma.testutils import assert_equal
-from numpy.testing import (
- run_module_suite, assert_, assert_raises,
- )
+from numpy.testing import assert_, assert_raises
from numpy.lib.recfunctions import (
drop_fields, rename_fields, get_fieldstructure, recursive_fill_fields,
find_duplicates, merge_arrays, append_fields, stack_arrays, join_by
@@ -831,6 +829,3 @@ class TestAppendFieldsObj(object):
control = np.array([(obj, 1.0, 10), (obj, 2.0, 20)],
dtype=[('A', object), ('B', float), ('C', int)])
assert_equal(test, control)
-
-if __name__ == '__main__':
- run_module_suite()