[Checkins] SVN: zope.testrunner/trunk/src/zope/testrunner/find.py Make the tests pass on Python 3.1.
Marius Gedminas
cvs-admin at zope.org
Fri Feb 8 07:10:16 UTC 2013
Log message for revision 129205:
Make the tests pass on Python 3.1.
(Whitespace issues with doctest.)
Changed:
U zope.testrunner/trunk/src/zope/testrunner/find.py
-=-
Modified: zope.testrunner/trunk/src/zope/testrunner/find.py
===================================================================
--- zope.testrunner/trunk/src/zope/testrunner/find.py 2013-02-08 07:06:33 UTC (rev 129204)
+++ zope.testrunner/trunk/src/zope/testrunner/find.py 2013-02-08 07:10:16 UTC (rev 129205)
@@ -50,7 +50,7 @@
>>> r = unittest.TestResult()
>>> s.run(r)
- >>> print r.failures[0][1], # doctest: +ELLIPSIS
+ >>> print r.failures[0][1].rstrip() # doctest: +ELLIPSIS
Traceback (most recent call last):
...
AssertionError: could not import fauxmodule
@@ -69,7 +69,7 @@
>>> s.run(r)
>>> print r.errors[0][0].shortDescription()
StartUpFailure: import errors in fauxmodule.
- >>> print r.errors[0][1], # doctest: +ELLIPSIS
+ >>> print r.errors[0][1].rstrip() # doctest: +ELLIPSIS
Traceback (most recent call last):
...
Exception: something bad happened during import
More information about the checkins
mailing list