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

Method test_input_tty

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

Source from the content-addressed store, hash-verified

2747 yield
2748
2749 def test_input_tty(self):
2750 # Test input() functionality when wired to a tty
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()

Callers

nothing calls this directly

Calls 1

check_input_ttyMethod · 0.95

Tested by

no test coverage detected