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

Method setUpClass

Lib/idlelib/idle_test/test_zoomheight.py:14–18  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

12
13 @classmethod
14 def setUpClass(cls):
15 requires('gui')
16 cls.root = Tk()
17 cls.root.withdraw()
18 cls.editwin = EditorWindow(root=cls.root)
19
20 @classmethod
21 def tearDownClass(cls):

Callers

nothing calls this directly

Calls 3

requiresFunction · 0.90
TkClass · 0.90
EditorWindowClass · 0.90

Tested by

no test coverage detected