Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
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_deprecated_20(*messages, **kw):
Callers
15
test_empty_clauses
Method · 0.90
test_execute_deprecated
Method · 0.90
test_standalone_via_exec_removed
Method · 0.90
test_where_empty
Method · 0.90
test_dbapi_clsmethod_renamed
Method · 0.90
test_connection_rec_connection
Method · 0.90
test_connection_fairy_connection
Method · 0.90
test_custom
Method · 0.90
test_custom_via_engine
Method · 0.90
test_engine_connect
Method · 0.90
test_legacy_accept
Method · 0.90
_test_legacy_accept_kw
Method · 0.90
Calls
1
_expect_warnings_sqla_only
Function · 0.85
Tested by
15
test_empty_clauses
Method · 0.72
test_execute_deprecated
Method · 0.72
test_standalone_via_exec_removed
Method · 0.72
test_where_empty
Method · 0.72
test_dbapi_clsmethod_renamed
Method · 0.72
test_connection_rec_connection
Method · 0.72
test_connection_fairy_connection
Method · 0.72
test_custom
Method · 0.72
test_custom_via_engine
Method · 0.72
test_engine_connect
Method · 0.72
test_legacy_accept
Method · 0.72
_test_legacy_accept_kw
Method · 0.72