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

Method test_interrupted

Lib/test/test_regrtest.py:1196–1201  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1194 self.check_executed_tests(output, tests, stats=stats)
1195
1196 def test_interrupted(self):
1197 code = TEST_INTERRUPTED
1198 test = self.create_test('sigint', code=code)
1199 output = self.run_tests(test, exitcode=EXITCODE_INTERRUPTED)
1200 self.check_executed_tests(output, test, omitted=test,
1201 interrupted=True, stats=0)
1202
1203 def test_slowest(self):
1204 # test --slowest

Callers

nothing calls this directly

Calls 3

run_testsMethod · 0.95
create_testMethod · 0.80
check_executed_testsMethod · 0.80

Tested by

no test coverage detected