(self, events)
| 2387 | - Run code up to that point when pressed on blank line with preceding lines |
| 2388 | """ |
| 2389 | def prepare_reader(self, events): |
| 2390 | console = FakeConsole(events) |
| 2391 | config = ReadlineConfig(readline_completer=None) |
| 2392 | reader = ReadlineAlikeReader(console=console, config=config) |
| 2393 | return reader |
| 2394 | |
| 2395 | def test_ctrl_d_empty_line(self): |
| 2396 | """Test that pressing Ctrl+D on empty line exits the program""" |
no test coverage detected