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

Method test_is_at_end

bpython/test/test_history.py:21–26  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

19 self.assertFalse(self.history.is_at_end)
20
21 def test_is_at_end(self):
22 self.history.last()
23
24 self.assertEqual(self.history.index, 0)
25 self.assertTrue(self.history.is_at_start)
26 self.assertFalse(self.history.is_at_end)
27
28 def test_first(self):
29 self.history.first()

Callers

nothing calls this directly

Calls 1

lastMethod · 0.80

Tested by

no test coverage detected