Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ is_true
Function
is_true
lib/sqlalchemy/testing/assertions.py:317–318 ·
view source on GitHub ↗
(a, msg=None)
Source
from the content-addressed store, hash-verified
315
316
317
def
is_true(a, msg=None):
318
is_(bool(a), True, msg=msg)
319
320
321
def
is_false(a, msg=None):
Callers
15
test_shared_sequence
Method · 0.90
test_row_is_sequence
Method · 0.90
test_row_special_names
Method · 0.90
test_results_can_close
Method · 0.90
test_row_logging_falls_back_to_rows
Method · 0.90
test_construct_params_w_bind_clones_post
Method · 0.90
test_construct_duped_params_w_bind_clones_post
Method · 0.90
test_construct_params_w_bind_clones_pre
Method · 0.90
test_cache_key_object_comparators
Method · 0.90
test_traverse_internals
Method · 0.90
test_init_args_in_traversal
Method · 0.90
test_compare_labels
Method · 0.90
Calls
1
is_
Function · 0.70
Tested by
15
test_shared_sequence
Method · 0.72
test_row_is_sequence
Method · 0.72
test_row_special_names
Method · 0.72
test_results_can_close
Method · 0.72
test_row_logging_falls_back_to_rows
Method · 0.72
test_construct_params_w_bind_clones_post
Method · 0.72
test_construct_duped_params_w_bind_clones_post
Method · 0.72
test_construct_params_w_bind_clones_pre
Method · 0.72
test_cache_key_object_comparators
Method · 0.72
test_traverse_internals
Method · 0.72
test_init_args_in_traversal
Method · 0.72
test_compare_labels
Method · 0.72