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

Function is_not

lib/sqlalchemy/testing/assertions.py:330–332  ·  view source on GitHub ↗

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 """Assert a is not b, with repr messaging on failure."""
332 assert a is not b, msg or "%r is %r" % (a, b)
333
334
335# deprecated. See #5429

Calls

no outgoing calls