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 mbeachy
Recipients mbeachy, nnorwitz
Date 2008-02-24.13:10:49
SpamBayes Score 0.019693822
Marked as misclassified No
Message-id <1203858652.36.0.808864306435.issue1729305@psf.upfronthosting.co.za>
In-reply-to
Content
The basic issue here is that running in verbose mode echoes back the
expected values from the file, so the results from non-ascii doctest
files must be encoded before printing.

It looks to me like the DocTestRunner class must grow an '_encoding'
attribute to keep track of how to encode any verbose output. I've
attached a patch that does this.

Happy post bug day!
Mike
History
Date User Action Args
2008-02-24 13:10:52mbeachysetspambayes_score: 0.0196938 -> 0.019693822
recipients: + mbeachy, nnorwitz
2008-02-24 13:10:52mbeachysetspambayes_score: 0.0196938 -> 0.0196938
messageid: <1203858652.36.0.808864306435.issue1729305@psf.upfronthosting.co.za>
2008-02-24 13:10:51mbeachylinkissue1729305 messages
2008-02-24 13:10:50mbeachycreate