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

Method cleanup2

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

Source from the content-addressed store, hash-verified

405 raise CustomError('cleanup1')
406
407 def cleanup2():
408 raise CustomError('cleanup2')
409
410 TestableTest.addClassCleanup(cleanup1)
411 TestableTest.addClassCleanup(cleanup2)

Callers

nothing calls this directly

Calls 1

CustomErrorClass · 0.70

Tested by

no test coverage detected