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

Method setUpClass

Lib/test/test_unittest/test_runner.py:574–576  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

572 class InnerTest(unittest.TestCase):
573 @classmethod
574 def setUpClass(cls):
575 ordering.append('inner setup')
576 cls.addClassCleanup(ordering.append, 'inner cleanup')
577 def test(self):
578 ordering.append('inner test')
579

Callers

nothing calls this directly

Calls 2

addClassCleanupMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected