MCPcopy Index your code
hub / github.com/python/cpython / test_fetch_edit

Method test_fetch_edit

Lib/idlelib/idle_test/test_history.py:156–161  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

154 self.fetch_test(True, line2, None, None, bell=True)
155
156 def test_fetch_edit(self):
157 # Edit after fetch
158 self.history.fetch(reverse=True) # initialization
159 self.text.delete('iomark', 'insert', )
160 self.text.insert('iomark', 'a =')
161 self.fetch_test(True, line1, 'a =', 0) # prefix is reset
162
163 def test_history_prev_next(self):
164 # Minimally test functions bound to events

Callers

nothing calls this directly

Calls 4

fetch_testMethod · 0.95
fetchMethod · 0.45
deleteMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected