This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author luciano
Recipients akaihola, bjoti, luciano, ogrisel, tim.peters
Date 2009-01-11.14:48:18
SpamBayes Score 0.0015397284
Marked as misclassified No
Message-id <1231685302.85.0.59840919709.issue1293741@psf.upfronthosting.co.za>
In-reply-to
Content
I have confirmed everything that akaihola reports in Python 2.4, 2.5 and
2.6, but the problem is not limited to non-matching test output. It also
happens with doctests with zero failures when the module is run with the
-v command-line switch, or testmod is called with verbose=True.

The attached file shows a work-around: handle the UnicodeEncodeError
thrown by testmod, and display the "object" attribute of the exception
to see exactly where the problem is.
History
Date User Action Args
2009-01-11 14:48:23lucianosetrecipients: + luciano, tim.peters, ogrisel, bjoti, akaihola
2009-01-11 14:48:22lucianosetmessageid: <1231685302.85.0.59840919709.issue1293741@psf.upfronthosting.co.za>
2009-01-11 14:48:21lucianolinkissue1293741 messages
2009-01-11 14:48:20lucianocreate