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

Method test_lookup_exists

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

Source from the content-addressed store, hash-verified

2344 convert(badid)
2345
2346 def test_lookup_exists(self):
2347 interpid = self.new_interpreter()
2348 self.assertTrue(
2349 _testinternalcapi.interpreter_exists(interpid))
2350
2351 def test_lookup_does_not_exist(self):
2352 interpid = _testinternalcapi.unused_interpreter_id()

Callers

nothing calls this directly

Calls 2

new_interpreterMethod · 0.95
assertTrueMethod · 0.80

Tested by

no test coverage detected