[Checkins] SVN: zope.error/trunk/ Fixed tests on Python 2.4 and 2.5.
Michael Howitz
mh at gocept.com
Wed Feb 1 14:23:44 UTC 2012
Log message for revision 124271:
Fixed tests on Python 2.4 and 2.5.
Changed:
U zope.error/trunk/CHANGES.txt
U zope.error/trunk/src/zope/error/tests.py
-=-
Modified: zope.error/trunk/CHANGES.txt
===================================================================
--- zope.error/trunk/CHANGES.txt 2012-02-01 14:21:43 UTC (rev 124270)
+++ zope.error/trunk/CHANGES.txt 2012-02-01 14:23:44 UTC (rev 124271)
@@ -5,9 +5,10 @@
3.7.4 (unreleased)
------------------
-- Nothing changed yet.
+- Fixed tests on Python 2.4 and 2.5.
+
3.7.3 (2012-01-17)
------------------
Modified: zope.error/trunk/src/zope/error/tests.py
===================================================================
--- zope.error/trunk/src/zope/error/tests.py 2012-02-01 14:21:43 UTC (rev 124270)
+++ zope.error/trunk/src/zope/error/tests.py 2012-02-01 14:23:44 UTC (rev 124271)
@@ -104,7 +104,7 @@
getErrLog = errUtility.getLogEntries()
self.assertEquals(1, len(getErrLog))
- tb_text = ''.join(format_exception(as_html=0, *exc_info))
+ tb_text = getFormattedException(exc_info)
err_id = getErrLog[0]['id']
self.assertEquals(tb_text,
More information about the checkins
mailing list