summaryrefslogtreecommitdiff
path: root/numpy/lib/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/lib/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/lib/tests/test_utils.py')
-rw-r--r--numpy/lib/tests/test_utils.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/numpy/lib/tests/test_utils.py b/numpy/lib/tests/test_utils.py
index 7d8e7e68e..c27c3cbf5 100644
--- a/numpy/lib/tests/test_utils.py
+++ b/numpy/lib/tests/test_utils.py
@@ -4,9 +4,7 @@ import sys
import pytest
from numpy.core import arange
-from numpy.testing import (
- run_module_suite, assert_, assert_equal, assert_raises_regex
- )
+from numpy.testing import assert_, assert_equal, assert_raises_regex
from numpy.lib import deprecate
import numpy.lib.utils as utils
@@ -67,7 +65,3 @@ def test_byte_bounds():
def test_assert_raises_regex_context_manager():
with assert_raises_regex(ValueError, 'no deprecation warning'):
raise ValueError('no deprecation warning')
-
-
-if __name__ == "__main__":
- run_module_suite()