Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ test_bad_id
Method
test_bad_id
Lib/test/test__interpreters.py:259–261 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
257
_interpreters.is_running(1_000_000)
258
259
def
test_bad_id(self):
260
with
self.assertRaises(ValueError):
261
_interpreters.is_running(-1)
262
263
264
class
CreateTests(TestBase):
Callers
nothing calls this directly
Calls
2
assertRaises
Method · 0.45
is_running
Method · 0.45
Tested by
no test coverage detected