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, ned.deily
Date 2016-12-05.07:08:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1480921723.59.0.457276441152.issue28872@psf.upfronthosting.co.za>
In-reply-to
Content
test_builtin currently fails for me when hunting refleaks (Fedora 25):

$ ./python -m test -R 3:3 -v test_builtin

[snip]

======================================================================
FAIL: test_input_tty_non_ascii (test.test_builtin.PtyTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ncoghlan/devel/py36/Lib/test/test_builtin.py", line 1592, in test_input_tty_non_ascii
    self.check_input_tty("prompté", b"quux\xe9", "utf-8")
  File "/home/ncoghlan/devel/py36/Lib/test/test_builtin.py", line 1583, 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/ncoghlan/devel/py36/Lib/test/test_builtin.py", line 1596, in test_input_tty_non_ascii_unicode_errors
    self.check_input_tty("prompté", b"quux\xe9", "ascii")
  File "/home/ncoghlan/devel/py36/Lib/test/test_builtin.py", line 1583, in check_input_tty
    self.assertEqual(input_result, expected)
AssertionError: 'quux' != 'quux\udce9'
- quux
+ quux\udce9
?     +


----------------------------------------------------------------------
Ran 78 tests in 0.066s

FAILED (failures=2)
History
Date User Action Args
2016-12-05 07:08:43ncoghlansetrecipients: + ncoghlan, ned.deily
2016-12-05 07:08:43ncoghlansetmessageid: <1480921723.59.0.457276441152.issue28872@psf.upfronthosting.co.za>
2016-12-05 07:08:43ncoghlanlinkissue28872 messages
2016-12-05 07:08:42ncoghlancreate