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

Method error

Lib/test/test_optparse.py:45–46  ·  view source on GitHub ↗
(self, msg)

Source from the content-addressed store, hash-verified

43 raise InterceptedError(exit_status=status, exit_message=msg)
44
45 def error(self, msg):
46 raise InterceptedError(error_message=msg)
47
48
49class BaseTest(unittest.TestCase):

Callers

nothing calls this directly

Calls 1

InterceptedErrorClass · 0.85

Tested by

no test coverage detected