MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / not_in

Function not_in

lib/sqlalchemy/testing/assertions.py:338–340  ·  view source on GitHub ↗

Assert a in not b, with repr messaging on failure.

(a, b, msg=None)

Source from the content-addressed store, hash-verified

336
337
338def not_in(a, b, msg=None):
339 """Assert a in not b, with repr messaging on failure."""
340 assert a not in b, msg or "%r is in %r" % (a, b)
341
342
343# deprecated. See #5429

Calls

no outgoing calls