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

Method setUpClass

Lib/idlelib/idle_test/test_filelist.py:11–14  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

9
10 @classmethod
11 def setUpClass(cls):
12 requires('gui')
13 cls.root = Tk()
14 cls.root.withdraw()
15
16 @classmethod
17 def tearDownClass(cls):

Callers

nothing calls this directly

Calls 2

requiresFunction · 0.90
TkClass · 0.90

Tested by

no test coverage detected