From c5e06b6f73c5aeb2ca8825010b8ae91330d44464 Mon Sep 17 00:00:00 2001 From: "adrian.sampson" Date: Mon, 7 Jul 2008 05:25:14 +0000 Subject: [PATCH] fixed double-loading of test modules --HG-- extra : convert_revision : svn%3A41726ec3-264d-0410-9c23-a9f1637257cc/trunk%4070 --- test/alltests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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