Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ raiseTestException
Method
raiseTestException
Lib/test/test_with.py:275–276 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
273
self.assertTrue(mock_generator.stopped)
274
275
def
raiseTestException(self):
276
raise
self.TEST_EXCEPTION
277
278
def
assertAfterWithManagerInvariantsWithError(self, mock_manager,
279
exc_type=None):
Callers
1
shouldThrow
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected