MCPcopy Index your code
hub / github.com/python/cpython / test_input_tty_non_ascii

Method test_input_tty_non_ascii

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

Source from the content-addressed store, hash-verified

2751 self.check_input_tty("prompt", b"quux")
2752
2753 def test_input_tty_non_ascii(self):
2754 # Check stdin/stdout encoding is used when invoking PyOS_Readline()
2755 self.check_input_tty("prompté", b"quux\xc3\xa9", "utf-8")
2756
2757 def test_input_tty_non_ascii_unicode_errors(self):
2758 # Check stdin/stdout error handler is used when invoking PyOS_Readline()

Callers

nothing calls this directly

Calls 1

check_input_ttyMethod · 0.95

Tested by

no test coverage detected