(result, test_case, reason)
| 89 | |
| 90 | |
| 91 | def _addSkip(result, test_case, reason): |
| 92 | addSkip = getattr(result, 'addSkip', None) |
| 93 | if addSkip is not None: |
| 94 | addSkip(test_case, reason) |
| 95 | else: |
| 96 | warnings.warn("TestResult has no addSkip method, skips not reported", |
| 97 | RuntimeWarning, 2) |
| 98 | result.addSuccess(test_case) |
| 99 | |
| 100 | def _addError(result, test, exc_info): |
| 101 | if result is not None and exc_info is not None: |
no test coverage detected