MCPcopy Create free account
hub / github.com/python/cpython / setUp

Method setUp

Lib/idlelib/idle_test/test_undo.py:29–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

27 del cls.root
28
29 def setUp(self):
30 self.delegator = UndoDelegator()
31 self.delegator.bell = Mock()
32 self.percolator.insertfilter(self.delegator)
33
34 def tearDown(self):
35 self.percolator.removefilter(self.delegator)

Callers

nothing calls this directly

Calls 3

UndoDelegatorClass · 0.90
MockClass · 0.90
insertfilterMethod · 0.80

Tested by

no test coverage detected