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

Method setUpClass

Lib/idlelib/idle_test/test_editor.py:217–221  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

215
216 @classmethod
217 def setUpClass(cls):
218 requires('gui')
219 cls.root = Tk()
220 cls.root.withdraw()
221 cls.window = Editor(root=cls.root)
222
223 @classmethod
224 def tearDownClass(cls):

Callers

nothing calls this directly

Calls 3

requiresFunction · 0.90
TkClass · 0.90
EditorClass · 0.70

Tested by

no test coverage detected