MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / not_in

Function not_in

lib/sqlalchemy/testing/assertions.py:344–346  ·  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

342
343
344def not_in(a, b, msg=None):
345 """Assert a in not b, with repr messaging on failure."""
346 assert a not in b, msg or "%r is in %r" % (a, b)
347
348
349# deprecated. See #5429

Calls

no outgoing calls