[Checkins] SVN: zope.component/branches/nikhil_n-py25/src/zope/component/tests.py made zope.component work with Python 2.5

nikhil n nikhil.n.n at gmail.com
Fri Jul 6 09:43:18 EDT 2007


Log message for revision 77505:
  made zope.component work with Python 2.5

Changed:
  U   zope.component/branches/nikhil_n-py25/src/zope/component/tests.py

-=-
Modified: zope.component/branches/nikhil_n-py25/src/zope/component/tests.py
===================================================================
--- zope.component/branches/nikhil_n-py25/src/zope/component/tests.py	2007-07-06 13:37:54 UTC (rev 77504)
+++ zope.component/branches/nikhil_n-py25/src/zope/component/tests.py	2007-07-06 13:43:18 UTC (rev 77505)
@@ -1010,6 +1010,8 @@
 
 def test_suite():
     checker = renormalizing.RENormalizing([
+        (re.compile(r"<type 'exceptions.ValueError'>"),
+                    r'exceptions.ValueError'),
         (re.compile('at 0x[0-9a-fA-F]+'), 'at <SOME ADDRESS>'),
         ])
 
@@ -1029,7 +1031,7 @@
         doctest.DocFileSuite('event.txt',
                              setUp=setUp, tearDown=tearDown),
         doctest.DocFileSuite('zcml.txt',
-                             setUp=setUp, tearDown=tearDown),
+                             setUp=setUp, tearDown=tearDown,checker=checker),
         unittest.makeSuite(StandaloneTests),
         ))
 



More information about the Checkins mailing list