| 39 | return self.error_message or self.exit_message or "intercepted error" |
| 40 | |
| 41 | class InterceptingOptionParser(OptionParser): |
| 42 | def exit(self, status=0, msg=None): |
| 43 | raise InterceptedError(exit_status=status, exit_message=msg) |
| 44 | |
| 45 | def error(self, msg): |
| 46 | raise InterceptedError(error_message=msg) |
| 47 | |
| 48 | |
| 49 | class BaseTest(unittest.TestCase): |
no outgoing calls
searching dependent graphs…