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

Method setUpClass

Lib/idlelib/idle_test/test_help_about.py:156–162  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

154
155 @classmethod
156 def setUpClass(cls):
157 cls.orig_error = textview.showerror
158 cls.orig_view = textview.view_text
159 cls.error = Mbox_func()
160 cls.view = Func()
161 textview.showerror = cls.error
162 textview.view_text = cls.view
163
164 @classmethod
165 def tearDownClass(cls):

Callers

nothing calls this directly

Calls 2

Mbox_funcClass · 0.90
FuncClass · 0.90

Tested by

no test coverage detected