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

Function in_

lib/sqlalchemy/testing/assertions.py:339–341  ·  lib/sqlalchemy/testing/assertions.py::in_

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 class="st">""class="st">"Assert a in b, with repr messaging on failure."class="st">""
341 assert a in b, msg or class="st">"%r not in %r" % (a, b)
342
343
344def not_in(a, b, msg=None):

Calls

no outgoing calls