summaryrefslogtreecommitdiff
path: root/numpy/lib
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib')
-rw-r--r--numpy/lib/tests/test_arrayterator.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/lib/tests/test_arrayterator.py b/numpy/lib/tests/test_arrayterator.py
index 421569651..c600d45eb 100644
--- a/numpy/lib/tests/test_arrayterator.py
+++ b/numpy/lib/tests/test_arrayterator.py
@@ -41,3 +41,7 @@ def test():
# Check that all elements are iterated correctly
assert list(c.flat) == list(d.flat)
+
+if __name__ == '__main__':
+ from numpy.testing import run_module_suite
+ run_module_suite()