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

Method setUpClass

Lib/idlelib/idle_test/test_colorizer.py:170–176  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

168
169 @classmethod
170 def setUpClass(cls):
171 requires('gui')
172 root = cls.root = Tk()
173 root.withdraw()
174 text = cls.text = Text(root)
175 cls.percolator = Percolator(text)
176 # Delegator stack = [Delegator(text)]
177
178 @classmethod
179 def tearDownClass(cls):

Callers

nothing calls this directly

Calls 4

requiresFunction · 0.90
TkClass · 0.90
TextClass · 0.90
PercolatorClass · 0.90

Tested by

no test coverage detected