From c7108cb9ab07fc410cc8b2f849cbac1d04f3382c Mon Sep 17 00:00:00 2001 From: Jarrod Millman Date: Tue, 2 Oct 2007 04:07:12 +0000 Subject: allow TestCase classes to be prefixed with either 'test' or 'Test' --- numpy/testing/numpytest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/testing/numpytest.py') 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. """ -- cgit v1.2.1