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

Method test_auto_history_disabled

Lib/test/test_readline.py:203–207  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

201 self.assertIn(b"History length: 1", output)
202
203 def test_auto_history_disabled(self):
204 output = run_pty(self.auto_history_script.format(False))
205 # bpo-44949: Sometimes, the newline character is not written at the
206 # end, so don't expect it in the output.
207 self.assertIn(b"History length: 0", output)
208
209 def test_set_complete_delims(self):
210 script = textwrap.dedent("""

Callers

nothing calls this directly

Calls 3

run_ptyFunction · 0.90
assertInMethod · 0.80
formatMethod · 0.45

Tested by

no test coverage detected