[Zope-Checkins] SVN: Zope/trunk/lib/python/ZPublisher/tests/testPublish.py Remove bogus doctest difference between Python 2.4 and 2.5.
Tres Seaver
tseaver at palladion.com
Sun Aug 24 14:09:55 EDT 2008
Log message for revision 90176:
Remove bogus doctest difference between Python 2.4 and 2.5.
Changed:
U Zope/trunk/lib/python/ZPublisher/tests/testPublish.py
-=-
Modified: Zope/trunk/lib/python/ZPublisher/tests/testPublish.py
===================================================================
--- Zope/trunk/lib/python/ZPublisher/tests/testPublish.py 2008-08-24 17:07:05 UTC (rev 90175)
+++ Zope/trunk/lib/python/ZPublisher/tests/testPublish.py 2008-08-24 18:09:54 UTC (rev 90176)
@@ -28,7 +28,7 @@
if exceptions:
exception = exceptions[0]
exceptions.remove(exception)
- exceptionShortName = exception.__name__
+ exceptionShortName = exception.__name__ # KISS
self.append('raising %s from %s' % (exceptionShortName, context))
raise exception
More information about the Zope-Checkins
mailing list