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
[EASY] Running test_builtin twice fails on input tty tests #75884
Activity
vstinner commentedon Oct 5, 2017
haypo@selma$ ./python -m test test_builtin test_builtin -v
======================================================================
FAIL: test_input_tty_non_ascii (test.test_builtin.PtyTests)
----------------------------------------------------------------------
Traceback (most recent call last): File "/home/haypo/prog/python/master/Lib/test/test_builtin.py", line 1717, in test_input_tty_non_ascii self.check_input_tty("prompté", b"quux\xe9", "utf-8") File "/home/haypo/prog/python/master/Lib/test/test_builtin.py", line 1708, 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.PtyTests)
----------------------------------------------------------------------
Traceback (most recent call last): File "/home/haypo/prog/python/master/Lib/test/test_builtin.py", line 1721, in test_input_tty_non_ascii_unicode_errors self.check_input_tty("prompté", b"quux\xe9", "ascii") File "/home/haypo/prog/python/master/Lib/test/test_builtin.py", line 1708, in check_input_tty self.assertEqual(input_result, expected) AssertionError: 'quux' != 'quux\udce9' - quux + quux\udce9 ? +serhiy-storchaka commentedon Oct 5, 2017
This is a duplicate of bpo-13886 (and several other issues).
Why do you think that this issue is easy?
vstinner commentedon Oct 5, 2017
I'm not sure that it's easy :-)