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

Method setUpClass

Lib/idlelib/idle_test/test_undo.py:17–20  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

15
16 @classmethod
17 def setUpClass(cls):
18 cls.root = Tk()
19 cls.text = Text(cls.root)
20 cls.percolator = Percolator(cls.text)
21
22 @classmethod
23 def tearDownClass(cls):

Callers

nothing calls this directly

Calls 3

TkClass · 0.90
TextClass · 0.90
PercolatorClass · 0.90

Tested by

no test coverage detected