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_format.py:54–56 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
52
53
@classmethod
54
def
setUpClass(cls):
55
from
idlelib.idle_test.mock_tk
import
Text
56
cls.text = Text()
57
58
def
runcase(self, inserttext, stopline, expected):
59
# Check that find_paragraph returns the expected paragraph when
Callers
nothing calls this directly
Calls
1
Text
Class · 0.90
Tested by
no test coverage detected