(self, string)
| 35 | return _is_failure_output(output, self._async) |
| 36 | |
| 37 | def _parse_exception(self, string): |
| 38 | # somefile:somelinenumber: someerror[: sometext] |
| 39 | # somefile might include an optional drive letter on windows e.g. "e:". |
| 40 | match = re.search( |
| 41 | '^(?:\w:)?[^:]*:[0-9]+: ([^: ]+?)($|: )', string, re.MULTILINE) |
| 42 | if match: |
| 43 | return match.group(1).strip() |
| 44 | else: |
| 45 | return None |
| 46 | |
| 47 | |
| 48 | class NoExceptionOutProc(base.OutProc): |
no test coverage detected