(self)
| 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(""" |