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

Method module_cleanup_bad

Lib/test/test_unittest/test_runner.py:639–640  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

637 module_cleanups.append((3, args, kwargs))
638
639 def module_cleanup_bad(*args, **kwargs):
640 raise CustomError('CleanUpExc')
641
642 class Module(object):
643 unittest.addModuleCleanup(module_cleanup_good, 1, 2, 3,

Callers

nothing calls this directly

Calls 1

CustomErrorClass · 0.70

Tested by

no test coverage detected