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 pupeno
Recipients pupeno
Date 2008-09-26.19:55:52
SpamBayes Score 3.929257e-06
Marked as misclassified No
Message-id <1222458954.88.0.967715209802.issue3979@psf.upfronthosting.co.za>
In-reply-to
Content
The attached file contains a function and two tests for it which are
essentially the same. One is a doctest and the other is a TestCase. The
doctest fails and I believe it shouldn't.

Here's what I get:

$ python failingdoctest.py 
**********************************************************************
File "../../provizora/failingdoctest.py", line 8, in __main__._to_xsistemo
Failed example:
    _to_xsistemo(u"ĈĉĜĝĤĥĴĵŜŝŬŭ")
Expected:
    'CxcxGxgxHxhxJxjxSxsxUxux'
Got:
   
"u'\\xc4\\x88\\xc4\\x89\\xc4\\x9c\\xc4\\x9d\\xc4\\xa4\\xc4\\xa5\\xc4\\xb4\\xc4\\xb5\\xc5\\x9c\\xc5\\x9d\\xc5\\xac\\xc5\\xad'"
**********************************************************************
1 items had failures:
   1 of   1 in __main__._to_xsistemo
***Test Failed*** 1 failures.
.
----------------------------------------------------------------------
Ran 1 test in 0.000s

OK


Thank you.
History
Date User Action Args
2008-09-26 19:55:54pupenosetrecipients: + pupeno
2008-09-26 19:55:54pupenosetmessageid: <1222458954.88.0.967715209802.issue3979@psf.upfronthosting.co.za>
2008-09-26 19:55:53pupenolinkissue3979 messages
2008-09-26 19:55:53pupenocreate