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

Method test_last

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

Source from the content-addressed store, hash-verified

32 self.assertTrue(self.history.is_at_end)
33
34 def test_last(self):
35 self.history.last()
36
37 self.assertTrue(self.history.is_at_start)
38 self.assertFalse(self.history.is_at_end)
39
40 def test_back(self):
41 self.assertEqual(self.history.back(), "#999")

Callers

nothing calls this directly

Calls 1

lastMethod · 0.80

Tested by

no test coverage detected