Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
299
def
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
303
def
is_none(a, msg=None):
Callers
7
test_const_expr_role
Method · 0.90
test_truncated_label_role
Method · 0.90
check_usage
Method · 0.90
check_table_column
Method · 0.90
test_op
Method · 0.90
test_copy
Method · 0.90
test_pickle
Method · 0.90
Calls
no outgoing calls
Tested by
7
test_const_expr_role
Method · 0.72
test_truncated_label_role
Method · 0.72
check_usage
Method · 0.72
check_table_column
Method · 0.72
test_op
Method · 0.72
test_copy
Method · 0.72
test_pickle
Method · 0.72