MCPcopy Create free account
hub / github.com/bpython/bpython / test_backspace

Method test_backspace

bpython/test/test_manual_readline.py:245–247  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

243 pass
244
245 def test_backspace(self):
246 self.assertEqual(backspace(2, "as"), (1, "a"))
247 self.assertEqual(backspace(3, "as "), (2, "as"))
248
249 def test_delete_word_from_cursor_back(self):
250 self.try_stages_kill(

Callers

nothing calls this directly

Calls 1

backspaceFunction · 0.90

Tested by

no test coverage detected