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

Method test_enter

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

Source from the content-addressed store, hash-verified

63 self.assertEqual(self.history.back(), 'print "foo\n"')
64
65 def test_enter(self):
66 self.history.enter("#lastnumber!")
67
68 self.assertEqual(self.history.back(), "#lastnumber!")
69 self.assertEqual(self.history.forward(), "#lastnumber!")
70
71 def test_enter_2(self):
72 self.history.enter("#50")

Callers

nothing calls this directly

Calls 3

backMethod · 0.80
forwardMethod · 0.80
enterMethod · 0.45

Tested by

no test coverage detected