Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ setUp
Method
setUp
Lib/test/test_ttk/test_widgets.py:1241–1244 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1239
IDENTIFY_AS = {
'Spinbox.field'
,
'textarea'
}
1240
1241
def
setUp(self):
1242
super().setUp()
1243
self.spin = self.create()
1244
self.spin.pack()
1245
1246
def
create(self, **kwargs):
1247
return
ttk.Spinbox(self.root, **kwargs)
Callers
nothing calls this directly
Calls
4
create
Method · 0.95
super
Class · 0.85
setUp
Method · 0.45
pack
Method · 0.45
Tested by
no test coverage detected