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:75–78 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
73
""
"Tests methods available in every ttk widget."
""
74
75
def
setUp(self):
76
super().setUp()
77
self.widget = ttk.Button(self.root, width=0, text=
"Text"
)
78
self.widget.pack()
79
80
def
test_identify(self):
81
self.widget.update()
Callers
nothing calls this directly
Calls
3
super
Class · 0.85
setUp
Method · 0.45
pack
Method · 0.45
Tested by
no test coverage detected