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

Method setUpClass

Lib/idlelib/idle_test/test_colorizer.py:102–106  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

100
101 @classmethod
102 def setUpClass(cls):
103 requires('gui')
104 root = cls.root = Tk()
105 root.withdraw()
106 cls.text = Text(root)
107
108 @classmethod
109 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