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

Function assertNotIn

Lib/test/audit-tests.py:61–63  ·  view source on GitHub ↗
(el, series)

Source from the content-addressed store, hash-verified

59
60
61def assertNotIn(el, series):
62 if el in series:
63 raise AssertionError(f"{el!r} should not be in {series!r}")
64
65
66def assertSequenceEqual(x, y):

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…