MCPcopy Index your code
hub / github.com/bpython/bpython / set_input_line

Method set_input_line

bpython/test/test_repl.py:369–372  ·  view source on GitHub ↗

Set current input line of the test REPL.

(self, line)

Source from the content-addressed store, hash-verified

367
368class TestRepl(unittest.TestCase):
369 def set_input_line(self, line):
370 """Set current input line of the test REPL."""
371 self.repl.current_line = line
372 self.repl.cursor_offset = len(line)
373
374 def setUp(self):
375 self.repl = FakeRepl()

Calls

no outgoing calls

Tested by

no test coverage detected