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

Method addExpectedFailure

Lib/unittest/result.py:151–154  ·  view source on GitHub ↗

Called when an expected failure/error occurred.

(self, test, err)

Source from the content-addressed store, hash-verified

149 self.skipped.append((test, reason))
150
151 def addExpectedFailure(self, test, err):
152 """Called when an expected failure/error occurred."""
153 self.expectedFailures.append(
154 (test, self._exc_info_to_string(err, test)))
155
156 @failfast
157 def addUnexpectedSuccess(self, test):

Callers

nothing calls this directly

Calls 2

_exc_info_to_stringMethod · 0.95
appendMethod · 0.45

Tested by

no test coverage detected