Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ assertIn
Function
assertIn
Lib/test/audit-tests.py:56–58 ·
view source on GitHub ↗
(el, series)
Source
from the content-addressed store, hash-verified
54
55
56
def
assertIn(el, series):
57
if
el not in series:
58
raise
AssertionError(f
"{el!r} should be in {series!r}"
)
59
60
61
def
assertNotIn(el, series):
Callers
1
test_block_add_hook
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…