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

Method prepare_reader

Lib/test/test_pyrepl/test_pyrepl.py:1705–1709  ·  view source on GitHub ↗
(self, events)

Source from the content-addressed store, hash-verified

1703
1704class TestPasteEvent(TestCase):
1705 def prepare_reader(self, events):
1706 console = FakeConsole(events)
1707 config = ReadlineConfig(readline_completer=None)
1708 reader = ReadlineAlikeReader(console=console, config=config)
1709 return reader
1710
1711 def test_paste(self):
1712 # fmt: off

Calls 3

ReadlineConfigClass · 0.90
ReadlineAlikeReaderClass · 0.90
FakeConsoleClass · 0.85

Tested by

no test coverage detected