Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
28
class
CustomError(Exception):
29
pass
30
31
# For test output compat:
32
CustomErrorRepr = f
"{__name__ + '.' if __name__ != '__main__' else ''}CustomError"
Callers
15
cleanup
Function · 0.70
testCleanUpWithErrors
Method · 0.70
setUp
Method · 0.70
setUpClass
Method · 0.70
tearDownClass
Method · 0.70
cleanup1
Method · 0.70
cleanup2
Method · 0.70
setUp
Method · 0.70
module_cleanup_bad
Method · 0.70
test_doModuleCleanup_with_errors_in_addModuleCleanup
Method · 0.70
setUpModule
Method · 0.70
setUpModule
Method · 0.70
Calls
no outgoing calls
Tested by
15
cleanup
Function · 0.56
testCleanUpWithErrors
Method · 0.56
setUp
Method · 0.56
setUpClass
Method · 0.56
tearDownClass
Method · 0.56
cleanup1
Method · 0.56
cleanup2
Method · 0.56
setUp
Method · 0.56
module_cleanup_bad
Method · 0.56
test_doModuleCleanup_with_errors_in_addModuleCleanup
Method · 0.56
setUpModule
Method · 0.56
setUpModule
Method · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…