summaryrefslogtreecommitdiff
path: root/numpy/testing/numpytest.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/testing/numpytest.py')
-rw-r--r--numpy/testing/numpytest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/testing/numpytest.py b/numpy/testing/numpytest.py
index 2c1650215..d65074247 100644
--- a/numpy/testing/numpytest.py
+++ b/numpy/testing/numpytest.py
@@ -257,7 +257,7 @@ class NumpyTest:
Old-style test_suite(level=1) hooks are also supported.
"""
- _check_testcase_name = re.compile(r'test.*').match
+ _check_testcase_name = re.compile(r'test.*|Test.*').match
def check_testcase_name(self, name):
""" Return True if name matches TestCase class.
"""