(self)
| 195 | """ |
| 196 | |
| 197 | def test_auto_history_enabled(self): |
| 198 | output = run_pty(self.auto_history_script.format(True)) |
| 199 | # bpo-44949: Sometimes, the newline character is not written at the |
| 200 | # end, so don't expect it in the output. |
| 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)) |