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

Method test_end_of_line

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

Source from the content-addressed store, hash-verified

58 self.assertEqual(expected, result)
59
60 def test_end_of_line(self):
61 expected = (len(self._line), self._line)
62 for i in range(len(self._line)):
63 result = end_of_line(i, self._line)
64 self.assertEqual(expected, result)
65
66 def test_forward_word(self):
67 line = "going from here to_here"

Callers

nothing calls this directly

Calls 1

end_of_lineFunction · 0.90

Tested by

no test coverage detected