MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / is_not

Function is_not

lib/sqlalchemy/testing/assertions.py:330–332  ·  lib/sqlalchemy/testing/assertions.py::is_not

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

(a, b, msg=None)

Source from the content-addressed store, hash-verified

328
329
330def is_not(a, b, msg=None):
331 class="st">""class="st">"Assert a is not b, with repr messaging on failure."class="st">""
332 assert a is not b, msg or class="st">"%r is %r" % (a, b)
333
334
335class="cm"># deprecated. See #5429

Calls

no outgoing calls