[Zope3-checkins]
SVN: zope.testing/trunk/src/zope/testing/testrunner.py
Python 2.5 compatibility: unittest.TestSuite.addTest() now
performs strict type
Marius Gedminas
marius at pov.lt
Thu Jul 12 12:08:31 EDT 2007
Log message for revision 77771:
Python 2.5 compatibility: unittest.TestSuite.addTest() now performs strict type
checking. Fixes a failure in testrunner-errors.txt.
Changed:
U zope.testing/trunk/src/zope/testing/testrunner.py
-=-
Modified: zope.testing/trunk/src/zope/testing/testrunner.py
===================================================================
--- zope.testing/trunk/src/zope/testing/testrunner.py 2007-07-12 16:08:04 UTC (rev 77770)
+++ zope.testing/trunk/src/zope/testing/testrunner.py 2007-07-12 16:08:30 UTC (rev 77771)
@@ -1208,7 +1208,8 @@
-class StartUpFailure:
+class StartUpFailure(unittest.TestCase):
+ """Empty test case added to the test suite to indicate import failures."""
def __init__(self, options, module, exc_info):
if options.post_mortem:
@@ -1216,6 +1217,7 @@
self.module = module
self.exc_info = exc_info
+
def find_test_files(options):
found = {}
for f, package in find_test_files_(options):
More information about the Zope3-Checkins
mailing list