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

Method setUpClass

Lib/idlelib/idle_test/test_debugger.py:178–184  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

176
177 @classmethod
178 def setUpClass(cls):
179 requires('gui')
180 cls.root = root = Tk()
181 root.withdraw()
182 cls.pyshell = Mock()
183 cls.pyshell.root = root
184 cls.idb = Mock()
185# stack tests fail with debugger here.
186## cls.debugger = debugger.Debugger(cls.pyshell, cls.idb)
187## cls.debugger.root = root

Callers

nothing calls this directly

Calls 3

requiresFunction · 0.90
TkClass · 0.90
MockClass · 0.90

Tested by

no test coverage detected