Log message for revision 90175:
  Remove bogus doctest artifacts under Python 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 
14:45:58 UTC (rev 90174)
+++ Zope/trunk/lib/python/ZPublisher/tests/testPublish.py       2008-08-24 
17:07:05 UTC (rev 90175)
@@ -28,7 +28,7 @@
         if exceptions:
             exception = exceptions[0]
             exceptions.remove(exception)
-            exceptionShortName = str(exception).split('.')[-1]
+            exceptionShortName = exception.__name__
             self.append('raising %s from %s' % (exceptionShortName, context))
             raise exception
 

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to