MCPcopy Index your code
hub / github.com/python/cpython / setUpClass

Method setUpClass

Lib/idlelib/idle_test/test_calltip_w.py:12–17  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

10
11 @classmethod
12 def setUpClass(cls):
13 requires('gui')
14 cls.root = Tk()
15 cls.root.withdraw()
16 cls.text = Text(cls.root)
17 cls.calltip = calltip_w.CalltipWindow(cls.text)
18
19 @classmethod
20 def tearDownClass(cls):

Callers

nothing calls this directly

Calls 3

requiresFunction · 0.90
TkClass · 0.90
TextClass · 0.90

Tested by

no test coverage detected