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

Method setUpClass

Lib/idlelib/idle_test/test_hyperparser.py:38–43  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

36
37 @classmethod
38 def setUpClass(cls):
39 requires('gui')
40 cls.root = Tk()
41 cls.root.withdraw()
42 cls.text = Text(cls.root)
43 cls.editwin = DummyEditwin(cls.text)
44
45 @classmethod
46 def tearDownClass(cls):

Callers

nothing calls this directly

Calls 4

requiresFunction · 0.90
TkClass · 0.90
TextClass · 0.90
DummyEditwinClass · 0.70

Tested by

no test coverage detected