MCPcopy Index your code
hub / github.com/RustPython/RustPython / _raiseFailure

Method _raiseFailure

Lib/unittest/case.py:212–214  ·  view source on GitHub ↗
(self, standardMsg)

Source from the content-addressed store, hash-verified

210 self.test_case = test_case
211
212 def _raiseFailure(self, standardMsg):
213 msg = self.test_case._formatMessage(self.msg, standardMsg)
214 raise self.test_case.failureException(msg)
215
216class _AssertRaisesBaseContext(_BaseTestCaseContext):
217

Callers 4

__exit__Method · 0.80
__exit__Method · 0.80
__exit__Method · 0.80
__exit__Method · 0.80

Calls 1

_formatMessageMethod · 0.80

Tested by

no test coverage detected