MCPcopy Create free account
hub / github.com/RightNow-AI/autokernel / __exit__

Method __exit__

kernelbench/bench_kb.py:85–90  ·  view source on GitHub ↗
(self, *_)

Source from the content-addressed store, hash-verified

83 return self
84
85 def __exit__(self, *_):
86 if self._use_signal:
87 signal.alarm(0)
88 signal.signal(signal.SIGALRM, self._prev)
89 else:
90 self._timer.cancel()
91
92 def _handler(self, signum, frame):
93 raise TimeoutError(self.msg)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected