You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Failure when running test_builtin after test_genexps #61934
bpo-13886: test_builtin.PtyTests fail on non-ASCII characters if the readline module is loaded
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2013-09-16.16:10:30.684>created_at=<Date2013-04-15.12:40:13.890>labels= ['type-bug']
title='Failure when running test_builtin after test_genexps'updated_at=<Date2013-09-16.16:10:30.682>user='https://github.com/ncoghlan'
Activity
ncoghlan commentedon Apr 15, 2013
I'm getting a failure in test_builtin when running the following:
======================================================================
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.
ezio-melotti commentedon Apr 15, 2013
Isn't this the same as bpo-13886?
brettcannon commentedon Jun 16, 2013
Issue bpo-18230 is another test_builtin failure related to tty tests.
serhiy-storchaka commentedon Sep 16, 2013
Yes. test_genexps uses doctests, doctest uses pdb, pdb imports readline.