Message73882
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. |
|
Date |
User |
Action |
Args |
2008-09-26 19:55:54 | pupeno | set | recipients:
+ pupeno |
2008-09-26 19:55:54 | pupeno | set | messageid: <1222458954.88.0.967715209802.issue3979@psf.upfronthosting.co.za> |
2008-09-26 19:55:53 | pupeno | link | issue3979 messages |
2008-09-26 19:55:53 | pupeno | create | |
|