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

Method test_already_destroyed

Lib/test/test__interpreters.py:249–253  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

247 self.assertEqual(out.strip(), 'True')
248
249 def test_already_destroyed(self):
250 interp = _interpreters.create()
251 _interpreters.destroy(interp)
252 with self.assertRaises(InterpreterNotFoundError):
253 _interpreters.is_running(interp)
254
255 def test_does_not_exist(self):
256 with self.assertRaises(InterpreterNotFoundError):

Callers

nothing calls this directly

Calls 4

createMethod · 0.45
destroyMethod · 0.45
assertRaisesMethod · 0.45
is_runningMethod · 0.45

Tested by

no test coverage detected