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

Method setUpClass

Lib/idlelib/idle_test/test_iomenu.py:21–26  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

19
20 @classmethod
21 def setUpClass(cls):
22 requires('gui')
23 cls.root = Tk()
24 cls.root.withdraw()
25 cls.editwin = EditorWindow(root=cls.root)
26 cls.io = iomenu.IOBinding(cls.editwin)
27
28 @classmethod
29 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