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

Method setUpModule

Lib/test/test_unittest/test_runner.py:754–758  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

752 class Module1(object):
753 @staticmethod
754 def setUpModule():
755 ordering.append('setUpModule')
756 unittest.addModuleCleanup(cleanup, ordering)
757 if blowUp:
758 raise CustomError()
759 @staticmethod
760 def tearDownModule():
761 ordering.append('tearDownModule')

Callers

nothing calls this directly

Calls 2

CustomErrorClass · 0.70
appendMethod · 0.45

Tested by

no test coverage detected