MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / in_

Function in_

lib/sqlalchemy/testing/assertions.py:339–341  ·  view source on GitHub ↗

Assert a in b, with repr messaging on failure.

(a, b, msg=None)

Source from the content-addressed store, hash-verified

337
338
339def in_(a, b, msg=None):
340 """Assert a in b, with repr messaging on failure."""
341 assert a in b, msg or "%r not in %r" % (a, b)
342
343
344def not_in(a, b, msg=None):

Calls

no outgoing calls