(
self, exc_value=None, exc_type=None, exc_tb=None, captureVars=None
)
| 368 | check_testcase_implements_trial_reporter() |
| 369 | |
| 370 | def excstore( |
| 371 | self, exc_value=None, exc_type=None, exc_tb=None, captureVars=None |
| 372 | ): |
| 373 | if exc_value is None: |
| 374 | self._rawexcinfo = sys.exc_info() |
| 375 | else: |
| 376 | if exc_type is None: |
| 377 | exc_type = type(exc_value) |
| 378 | self._rawexcinfo = (exc_type, exc_value, exc_tb) |
| 379 | try: |
| 380 | Failure__init__( |
| 381 | self, exc_value, exc_type, exc_tb, captureVars=captureVars |
| 382 | ) |
| 383 | except TypeError: |
| 384 | Failure__init__(self, exc_value, exc_type, exc_tb) |
| 385 | |
| 386 | ut.Failure.__init__ = excstore |
| 387 | yield |
nothing calls this directly
no outgoing calls
no test coverage detected