Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ expect_deprecated
Function
expect_deprecated
lib/sqlalchemy/testing/assertions.py:86–89 ·
view source on GitHub ↗
(*messages, **kw)
Source
from the content-addressed store, hash-verified
84
85
86
def
expect_deprecated(*messages, **kw):
87
return
_expect_warnings_sqla_only(
88
sa_exc.SADeprecationWarning, messages, **kw
89
)
90
91
92
def
expect_noload_deprecation():
Callers
15
test_no_class
Method · 0.90
test_json_cant_contains
Method · 0.90
test_invalid_op
Method · 0.90
test_invalid_op_custom
Method · 0.90
test_empty_clauses
Method · 0.90
test_operator_class_with_column_op
Method · 0.90
test_operator_class_warning_unspecified_type
Method · 0.90
test_execute_deprecated
Method · 0.90
test_plain_select
Method · 0.90
test_standalone_via_exec_removed
Method · 0.90
test_distinct_expr_no_dep_warning_str_compiler
Method · 0.90
test_functions_with_cols
Method · 0.90
Calls
1
_expect_warnings_sqla_only
Function · 0.85
Tested by
15
test_no_class
Method · 0.72
test_json_cant_contains
Method · 0.72
test_invalid_op
Method · 0.72
test_invalid_op_custom
Method · 0.72
test_empty_clauses
Method · 0.72
test_operator_class_with_column_op
Method · 0.72
test_operator_class_warning_unspecified_type
Method · 0.72
test_execute_deprecated
Method · 0.72
test_plain_select
Method · 0.72
test_standalone_via_exec_removed
Method · 0.72
test_distinct_expr_no_dep_warning_str_compiler
Method · 0.72
test_functions_with_cols
Method · 0.72