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

Method test_input_tty_nondecodable_input

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

Source from the content-addressed store, hash-verified

2722 "range(128)")
2723
2724 def test_input_tty_nondecodable_input(self):
2725 self.check_input_tty("prompt", b"quux\xe9", "ascii", stdin_errors='strict',
2726 expected="UnicodeDecodeError: 'ascii' codec can't decode "
2727 "byte 0xe9 in position 4: ordinal not in "
2728 "range(128)")
2729
2730 @unittest.skip("TODO: RUSTPYTHON; FAILURE, WORKER BUG")
2731 @unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: got 0 lines in pipe but expected 2, child output was: quux

Callers

nothing calls this directly

Calls 1

check_input_ttyMethod · 0.95

Tested by

no test coverage detected