[Zope-Checkins]
CVS: Zope/lib/python/Products/PageTemplates/tests/output
- StringExpression.html:1.2.114.2
Tres Seaver
tseaver at zope.com
Fri Dec 19 12:26:30 EST 2003
Update of /cvs-repository/Zope/lib/python/Products/PageTemplates/tests/output
In directory cvs.zope.org:/tmp/cvs-serv2789/lib/python/Products/PageTemplates/tests/output
Modified Files:
Tag: Zope-2_6-branch
StringExpression.html
Log Message:
Backport assorted fixes for running Zope 2.6.x tests under Python 2.3.
- lib/python/Products/PluginIndexes/DateIndex:
o Deal with the fact that in Python 2.3, int can return a long
instead of throwing OverflowError.
- lib/python/Products/PageTemplates/tests:
o Fix spurious error in PageTemplates; no longer rely on the str() of
exception objects since the value of their str() is not part of their
API, and can vary between Python releases.
The following now shows 1781 tests passing, albeit with a number of
PendingDeprecationWarnings::
$ python2.3 utilities/testrunner.py -a -v
=== Zope/lib/python/Products/PageTemplates/tests/output/StringExpression.html 1.2.114.1 => 1.2.114.2 ===
--- Zope/lib/python/Products/PageTemplates/tests/output/StringExpression.html:1.2.114.1 Tue Oct 1 11:54:26 2002
+++ Zope/lib/python/Products/PageTemplates/tests/output/StringExpression.html Fri Dec 19 12:25:59 2003
@@ -3,8 +3,12 @@
<title>Hello World!</title>
</head>
<body>
- Error:x
- Error:x
+ <!-- These next two on-error expressions are very fragile; there's
+ not a lot we can do without fairly interesting exception
+ objects and not be subject to variations in the str() of the
+ exception object. -->
+ Error:10
+ Error:11
<hr />
</body>
</html>
More information about the Zope-Checkins
mailing list