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

Function not_in

lib/sqlalchemy/testing/assertions.py:344–346  ·  lib/sqlalchemy/testing/assertions.py::not_in

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 class="st">""class="st">"Assert a in not b, with repr messaging on failure."class="st">""
346 assert a not in b, msg or class="st">"%r is in %r" % (a, b)
347
348
349class="cm"># deprecated. See #5429

Calls

no outgoing calls