diff --git a/test/alltests.py b/test/alltests.py index d5eba5c79..dd9a51749 100755 --- a/test/alltests.py +++ b/test/alltests.py @@ -7,7 +7,7 @@ def suite(): s = unittest.TestSuite() # get the suite() of every module in this directory begining with test_ for fname in os.listdir('.'): - match = re.match(r'(test_\S+)\.py', fname) + match = re.match(r'(test_\S+)\.py$', fname) if match: s.addTest(__import__(match.group(1)).suite()) return s