[Numpy-svn] r4144 - trunk/numpy/testing
numpy-svn at scipy.org
numpy-svn at scipy.org
Tue Oct 2 00:07:21 EDT 2007
Author: jarrod.millman
Date: 2007-10-01 23:07:12 -0500 (Mon, 01 Oct 2007)
New Revision: 4144
Modified:
trunk/numpy/testing/numpytest.py
Log:
allow TestCase classes to be prefixed with either 'test' or 'Test'
Modified: trunk/numpy/testing/numpytest.py
===================================================================
--- trunk/numpy/testing/numpytest.py 2007-09-30 10:47:58 UTC (rev 4143)
+++ trunk/numpy/testing/numpytest.py 2007-10-02 04:07:12 UTC (rev 4144)
@@ -257,7 +257,7 @@
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.
"""
More information about the Numpy-svn
mailing list