[Checkins] SVN: zope.component/trunk/src/zope/component/tests.py
made zope.component work with python2.5
nikhil n
nikhil.n.n at gmail.com
Sat Jul 14 04:35:36 EDT 2007
Log message for revision 77896:
made zope.component work with python2.5
Changed:
U zope.component/trunk/src/zope/component/tests.py
-=-
Modified: zope.component/trunk/src/zope/component/tests.py
===================================================================
--- zope.component/trunk/src/zope/component/tests.py 2007-07-13 23:44:38 UTC (rev 77895)
+++ zope.component/trunk/src/zope/component/tests.py 2007-07-14 08:35:35 UTC (rev 77896)
@@ -1011,6 +1011,8 @@
def test_suite():
checker = renormalizing.RENormalizing([
(re.compile('at 0x[0-9a-fA-F]+'), 'at <SOME ADDRESS>'),
+ (re.compile(r"<type 'exceptions.(\w+)Error'>:"),
+ r'exceptions.\1Error:'),
])
return unittest.TestSuite((
@@ -1028,7 +1030,7 @@
tearDown=tearDownRegistryTests),
doctest.DocFileSuite('event.txt',
setUp=setUp, tearDown=tearDown),
- doctest.DocFileSuite('zcml.txt',
+ doctest.DocFileSuite('zcml.txt',checker=checker,
setUp=setUp, tearDown=tearDown),
unittest.makeSuite(StandaloneTests),
))
More information about the Checkins
mailing list