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

Method test_modify_insert

Lib/idlelib/idle_test/test_percolator.py:85–88  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

83 ('insert', 'foo', None))
84
85 def test_modify_insert(self):
86 self.filter_one.insert = self.filter_one.uppercase_insert
87 self.text.insert('insert', 'bAr')
88 self.assertEqual(self.text.get('1.0', END), 'BAR\n')
89
90 def test_modify_chain_insert(self):
91 filter_three = MyFilter()

Callers

nothing calls this directly

Calls 3

insertMethod · 0.45
assertEqualMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected