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

Method test_lookup_destroyed

Lib/test/test_capi/test_misc.py:2356–2360  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2354 _testinternalcapi.interpreter_exists(interpid))
2355
2356 def test_lookup_destroyed(self):
2357 interpid = _interpreters.create()
2358 _interpreters.destroy(interpid)
2359 self.assertFalse(
2360 _testinternalcapi.interpreter_exists(interpid))
2361
2362 def get_refcount_helpers(self):
2363 return (

Callers

nothing calls this directly

Calls 3

assertFalseMethod · 0.80
createMethod · 0.45
destroyMethod · 0.45

Tested by

no test coverage detected