[Zope-Checkins] CVS: Zope/lib/python/Products/PageTemplates/tests/output - StringExpression.html:1.3.44.1

Fred Drake cvs-admin at zope.org
Fri Oct 24 12:01:43 EDT 2003


Update of /cvs-repository/Zope/lib/python/Products/PageTemplates/tests/output
In directory cvs.zope.org:/tmp/cvs-serv3275/lib/python/Products/PageTemplates/tests/output

Modified Files:
      Tag: Zope-2_7-branch
	StringExpression.html 
Log Message:
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 releases.


=== Zope/lib/python/Products/PageTemplates/tests/output/StringExpression.html 1.3 => 1.3.44.1 ===
--- Zope/lib/python/Products/PageTemplates/tests/output/StringExpression.html:1.3	Tue Oct  1 11:52:56 2002
+++ Zope/lib/python/Products/PageTemplates/tests/output/StringExpression.html	Fri Oct 24 12:01:42 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