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

Method test_append

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

Source from the content-addressed store, hash-verified

57 self.assertEqual(self.history.forward(), "#999")
58
59 def test_append(self):
60 self.history.append('print "foo\n"\n')
61 self.history.append("\n")
62
63 self.assertEqual(self.history.back(), 'print "foo\n"')
64
65 def test_enter(self):
66 self.history.enter("#lastnumber!")

Callers

nothing calls this directly

Calls 2

appendMethod · 0.80
backMethod · 0.80

Tested by

no test coverage detected