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

Method setUp

Lib/test/test_tkinter/support.py:51–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

49class AbstractDefaultRootTest:
50
51 def setUp(self):
52 self._old_support_default_root = tkinter._support_default_root
53 destroy_default_root()
54 tkinter._support_default_root = True
55 self.wantobjects = tkinter.wantobjects
56
57 def tearDown(self):
58 destroy_default_root()

Callers

nothing calls this directly

Calls 1

destroy_default_rootFunction · 0.85

Tested by

no test coverage detected