MCPcopy 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

superClass · 0.85
setUpMethod · 0.45
packMethod · 0.45

Tested by

no test coverage detected