MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_input_tty_non_ascii

Method test_input_tty_non_ascii

Lib/test/test_builtin.py:2704–2706  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2702
2703 @unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: got 0 lines in pipe but expected 2, child output was: quux
2704 def test_input_tty_non_ascii(self):
2705 # Check stdin/stdout encoding is used when invoking PyOS_Readline()
2706 self.check_input_tty("prompté", b"quux\xc3\xa9", "utf-8")
2707
2708 @unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: got 0 lines in pipe but expected 2, child output was: quux
2709 def test_input_tty_non_ascii_unicode_errors(self):

Callers

nothing calls this directly

Calls 1

check_input_ttyMethod · 0.95

Tested by

no test coverage detected