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 ncoghlan
Recipients ncoghlan, vstinner
Date 2013-04-15.12:40:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1366029613.93.0.971367432491.issue17734@psf.upfronthosting.co.za>
In-reply-to
Content
I'm getting a failure in test_builtin when running the following:

    ./python -m test -w test_genexps test_builtin

======================================================================
FAIL: test_input_tty_non_ascii (test.test_builtin.BuiltinTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ncoghlan/devel/py3k/Lib/test/test_builtin.py", line 1176, in test_input_tty_non_ascii
    self.check_input_tty("prompté", b"quux\xe9", "utf-8")
  File "/home/ncoghlan/devel/py3k/Lib/test/test_builtin.py", line 1167, in check_input_tty
    self.assertEqual(input_result, expected)
AssertionError: 'quux' != 'quux\udce9'
- quux
+ quux\udce9
?     +


======================================================================
FAIL: test_input_tty_non_ascii_unicode_errors (test.test_builtin.BuiltinTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ncoghlan/devel/py3k/Lib/test/test_builtin.py", line 1180, in test_input_tty_non_ascii_unicode_errors
    self.check_input_tty("prompté", b"quux\xe9", "ascii")
  File "/home/ncoghlan/devel/py3k/Lib/test/test_builtin.py", line 1167, in check_input_tty
    self.assertEqual(input_result, expected)
AssertionError: 'quux' != 'quux\udce9'
- quux
+ quux\udce9
?     +

The problem persists after a make clean and rebuild.
History
Date User Action Args
2013-04-15 12:40:13ncoghlansetrecipients: + ncoghlan, vstinner
2013-04-15 12:40:13ncoghlansetmessageid: <1366029613.93.0.971367432491.issue17734@psf.upfronthosting.co.za>
2013-04-15 12:40:13ncoghlanlinkissue17734 messages
2013-04-15 12:40:13ncoghlancreate