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

Method assert_run_failed

Lib/test/test__interpreters.py:921–922  ·  view source on GitHub ↗
(self, exctype, script)

Source from the content-addressed store, hash-verified

919 return excinfo
920
921 def assert_run_failed(self, exctype, script):
922 self._assert_run_failed(exctype, None, script)
923
924 def assert_run_failed_msg(self, exctype, msg, script):
925 self._assert_run_failed(exctype, msg, script)

Callers 5

test_exitMethod · 0.95
test_invalid_syntaxMethod · 0.95
test_NameErrorMethod · 0.95
test_AttributeErrorMethod · 0.95
test_ExceptionGroupMethod · 0.95

Calls 1

_assert_run_failedMethod · 0.95

Tested by

no test coverage detected