[Checkins] SVN: zope.tales/trunk/src/zope/tales/tests/test_tales.py
merge form the branch nikhil_n-py25: made zope.tales work
with python2.5
nikhil n
nikhil.n.n at gmail.com
Tue Jul 17 02:17:17 EDT 2007
Log message for revision 78054:
merge form the branch nikhil_n-py25: made zope.tales work with python2.5
Changed:
U zope.tales/trunk/src/zope/tales/tests/test_tales.py
-=-
Modified: zope.tales/trunk/src/zope/tales/tests/test_tales.py
===================================================================
--- zope.tales/trunk/src/zope/tales/tests/test_tales.py 2007-07-17 06:01:43 UTC (rev 78053)
+++ zope.tales/trunk/src/zope/tales/tests/test_tales.py 2007-07-17 06:17:16 UTC (rev 78054)
@@ -16,10 +16,12 @@
$Id$
"""
import unittest
+import re
from zope.tales import tales
from zope.tales.tests.simpleexpr import SimpleExpr
from zope.testing.doctestunit import DocTestSuite
+from zope.testing import renormalizing
class TALESTests(unittest.TestCase):
@@ -174,8 +176,12 @@
def test_suite():
+ checker = renormalizing.RENormalizing([
+ (re.compile(r"object of type 'MyIter' has no len\(\)"),
+ r"len() of unsized object"),
+ ])
suite = unittest.makeSuite(TALESTests)
- suite.addTest(DocTestSuite("zope.tales.tales"))
+ suite.addTest(DocTestSuite("zope.tales.tales",checker=checker))
return suite
More information about the Checkins
mailing list