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

Function is_instance_of

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

Source from the content-addressed store, hash-verified

297
298
299def is_instance_of(a, b, msg=None):
300 assert isinstance(a, b), msg or "%r is not an instance of %r" % (a, b)
301
302
303def is_none(a, msg=None):

Callers 7

test_const_expr_roleMethod · 0.90
check_usageMethod · 0.90
check_table_columnMethod · 0.90
test_opMethod · 0.90
test_copyMethod · 0.90
test_pickleMethod · 0.90

Calls

no outgoing calls

Tested by 7

test_const_expr_roleMethod · 0.72
check_usageMethod · 0.72
check_table_columnMethod · 0.72
test_opMethod · 0.72
test_copyMethod · 0.72
test_pickleMethod · 0.72