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

Method setUpClass

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

Source from the content-addressed store, hash-verified

102
103 @classmethod
104 def setUpClass(cls):
105 requires('gui')
106 cls.root = Tk()
107 cls.root.withdraw()
108 cls.window = Editor(root=cls.root)
109 cls.window.indentwidth = 2
110 cls.window.tabwidth = 2
111
112 @classmethod
113 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