(
self,
testcase: "unittest.TestCase",
rawexcinfo: "_SysExcInfoType",
reason: str = "",
)
| 259 | self._addexcinfo(sys.exc_info()) |
| 260 | |
| 261 | def addExpectedFailure( |
| 262 | self, |
| 263 | testcase: "unittest.TestCase", |
| 264 | rawexcinfo: "_SysExcInfoType", |
| 265 | reason: str = "", |
| 266 | ) -> None: |
| 267 | try: |
| 268 | xfail(str(reason)) |
| 269 | except xfail.Exception: |
| 270 | self._addexcinfo(sys.exc_info()) |
| 271 | |
| 272 | def addUnexpectedSuccess( |
| 273 | self, |
nothing calls this directly
no test coverage detected