summaryrefslogtreecommitdiff
path: root/numpy/testing/tests/test_utils.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/testing/tests/test_utils.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/testing/tests/test_utils.py')
-rw-r--r--numpy/testing/tests/test_utils.py15
1 files changed, 5 insertions, 10 deletions
diff --git a/numpy/testing/tests/test_utils.py b/numpy/testing/tests/test_utils.py
index 4ba484ba0..35f81d8a7 100644
--- a/numpy/testing/tests/test_utils.py
+++ b/numpy/testing/tests/test_utils.py
@@ -10,12 +10,11 @@ import pytest
import numpy as np
from numpy.testing import (
assert_equal, assert_array_equal, assert_almost_equal,
- assert_array_almost_equal, assert_array_less, build_err_msg,
- raises, assert_raises, assert_warns, assert_no_warnings,
- assert_allclose, assert_approx_equal,
- assert_array_almost_equal_nulp, assert_array_max_ulp,
- clear_and_catch_warnings, suppress_warnings, run_module_suite,
- assert_string_equal, assert_, tempdir, temppath,
+ assert_array_almost_equal, assert_array_less, build_err_msg, raises,
+ assert_raises, assert_warns, assert_no_warnings, assert_allclose,
+ assert_approx_equal, assert_array_almost_equal_nulp, assert_array_max_ulp,
+ clear_and_catch_warnings, suppress_warnings, assert_string_equal, assert_,
+ tempdir, temppath,
)
@@ -1361,7 +1360,3 @@ def test_clear_and_catch_warnings_inherit():
warnings.simplefilter('ignore')
warnings.warn('Some warning')
assert_equal(my_mod.__warningregistry__, {})
-
-
-if __name__ == '__main__':
- run_module_suite()