(self, *exc)
| 65 | return self |
| 66 | |
| 67 | def __exit__(self, *exc): |
| 68 | if self._use_signal: |
| 69 | signal.alarm(0) |
| 70 | signal.signal(signal.SIGALRM, self._old) |
| 71 | else: |
| 72 | self._timer.cancel() |
| 73 | return False |
| 74 | |
| 75 | def _timeout_thread(self): |
| 76 | self._timed_out = True |
nothing calls this directly
no outgoing calls
no test coverage detected