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

Function cleanup

Lib/test/test_unittest/test_runner.py:52–57  ·  view source on GitHub ↗
(ordering, blowUp=False)

Source from the content-addressed store, hash-verified

50
51
52def cleanup(ordering, blowUp=False):
53 if not blowUp:
54 ordering.append('cleanup_good')
55 else:
56 ordering.append('cleanup_exc')
57 raise CustomError('CleanUpExc')
58
59
60class TestCM:

Callers

nothing calls this directly

Calls 2

CustomErrorClass · 0.70
appendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…