MCPcopy Index your code
hub / github.com/python/cpython / setUp

Method setUp

Lib/test/test_unittest/test_break.py:20–23  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

18 default_repeats = 15
19
20 def setUp(self):
21 self._default_handler = signal.getsignal(signal.SIGINT)
22 if self.int_handler is not None:
23 signal.signal(signal.SIGINT, self.int_handler)
24
25 def tearDown(self):
26 signal.signal(signal.SIGINT, self._default_handler)

Callers 1

withRepeatsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected