Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ setUpClass
Method
setUpClass
Lib/idlelib/idle_test/test_colorizer.py:102–106 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
100
101
@classmethod
102
def
setUpClass(cls):
103
requires(
'gui'
)
104
root = cls.root = Tk()
105
root.withdraw()
106
cls.text = Text(root)
107
108
@classmethod
109
def
tearDownClass(cls):
Callers
nothing calls this directly
Calls
3
requires
Function · 0.90
Tk
Class · 0.90
Text
Class · 0.90
Tested by
no test coverage detected