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

Function is_not

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

322
323
324def is_not(a, b, msg=None):
325 """Assert a is not b, with repr messaging on failure."""
326 assert a is not b, msg or "%r is %r" % (a, b)
327
328
329# deprecated. See #5429

Calls

no outgoing calls