[Zope-Checkins] CVS: Zope3 - test.py:1.1.2.11
Jeremy Hylton
jeremy@zope.com
Tue, 4 Jun 2002 12:44:44 -0400
Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv9058
Modified Files:
Tag: Zope-3x-branch
test.py
Log Message:
Don't catch attribute errors raised during call to test_suite().
=== Zope3/test.py 1.1.2.10 => 1.1.2.11 ===
return None
try:
- return mod.test_suite()
+ suite_func = mod.test_suite
except AttributeError:
print "No test_suite() in %s" % file
+ return suite_func()
def filter_testcases(s, rx):
new = unittest.TestSuite()