(result, test_case, reason)
| 84 | |
| 85 | |
| 86 | def _addSkip(result, test_case, reason): |
| 87 | addSkip = getattr(result, 'addSkip', None) |
| 88 | if addSkip is not None: |
| 89 | addSkip(test_case, reason) |
| 90 | else: |
| 91 | warnings.warn("TestResult has no addSkip method, skips not reported", |
| 92 | RuntimeWarning, 2) |
| 93 | result.addSuccess(test_case) |
| 94 | |
| 95 | def _addError(result, test, exc_info): |
| 96 | if result is not None and exc_info is not None: |
no test coverage detected
searching dependent graphs…