MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / is_instance_of

Function is_instance_of

lib/sqlalchemy/testing/assertions.py:305–306  ·  view source on GitHub ↗
(a, b, msg=None)

Source from the content-addressed store, hash-verified

303
304
305def is_instance_of(a, b, msg=None):
306 assert isinstance(a, b), msg or "%r is not an instance of %r" % (a, b)
307
308
309def is_none(a, msg=None):

Calls

no outgoing calls