MCPcopy 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
56def assertIn(el, series):
57 if el not in series:
58 raise AssertionError(f"{el!r} should be in {series!r}")
59
60
61def assertNotIn(el, series):

Callers 1

test_block_add_hookFunction · 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…