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

Method setUpClass

Lib/idlelib/idle_test/test_autocomplete.py:28–33  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

26
27 @classmethod
28 def setUpClass(cls):
29 requires('gui')
30 cls.root = Tk()
31 cls.root.withdraw()
32 cls.text = Text(cls.root)
33 cls.editor = DummyEditwin(cls.root, cls.text)
34
35 @classmethod
36 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