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_undo.py:17–20 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
15
16
@classmethod
17
def
setUpClass(cls):
18
cls.root = Tk()
19
cls.text = Text(cls.root)
20
cls.percolator = Percolator(cls.text)
21
22
@classmethod
23
def
tearDownClass(cls):
Callers
nothing calls this directly
Calls
3
Tk
Class · 0.90
Text
Class · 0.90
Percolator
Class · 0.90
Tested by
no test coverage detected