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

Class CustomError

Lib/test/test_unittest/test_runner.py:28–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27
28class CustomError(Exception):
29 pass
30
31# For test output compat:
32CustomErrorRepr = f"{__name__ + '.' if __name__ != '__main__' else ''}CustomError"

Callers 15

cleanupFunction · 0.70
testCleanUpWithErrorsMethod · 0.70
setUpMethod · 0.70
setUpClassMethod · 0.70
tearDownClassMethod · 0.70
cleanup1Method · 0.70
cleanup2Method · 0.70
setUpMethod · 0.70
module_cleanup_badMethod · 0.70
setUpModuleMethod · 0.70
setUpModuleMethod · 0.70

Calls

no outgoing calls

Tested by 15

cleanupFunction · 0.56
testCleanUpWithErrorsMethod · 0.56
setUpMethod · 0.56
setUpClassMethod · 0.56
tearDownClassMethod · 0.56
cleanup1Method · 0.56
cleanup2Method · 0.56
setUpMethod · 0.56
module_cleanup_badMethod · 0.56
setUpModuleMethod · 0.56
setUpModuleMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…