Code
Hub
Workspaces
Connect your AI tool
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ expect_raises_message
Function
expect_raises_message
lib/sqlalchemy/testing/assertions.py:505–506 · lib/sqlalchemy/testing/assertions.py::expect_raises_message
(except_cls, msg, check_context=True)
Source
from the content-addressed store, hash-verified
503
504
505
def
expect_raises_message(except_cls, msg, check_context=True):
506
return
_expect_raises(except_cls, msg=msg, check_context=check_context)
507
508
509
class
AssertsCompiledSQL:
Callers
15
test_not_implemented_operators
Method · 0.90
test_python_impl_not_present
Method · 0.90
test_values_illegal
Method · 0.90
test_invalid_non_typed_columns
Method · 0.90
test_no_kw_args
Method · 0.90
test_invalid_method_definition
Method · 0.90
test_cannot_interpret_annotation
Method · 0.90
test_invalid_annotation_type
Method · 0.90
test_missing_generic_in_column
Method · 0.90
test_missing_generic_in_named
Method · 0.90
test_no_pep593
Method · 0.90
test_no_pep593_columns
Method · 0.90
Calls
1
_expect_raises
Function · 0.85
Tested by
15
test_not_implemented_operators
Method · 0.72
test_python_impl_not_present
Method · 0.72
test_values_illegal
Method · 0.72
test_invalid_non_typed_columns
Method · 0.72
test_no_kw_args
Method · 0.72
test_invalid_method_definition
Method · 0.72
test_cannot_interpret_annotation
Method · 0.72
test_invalid_annotation_type
Method · 0.72
test_missing_generic_in_column
Method · 0.72
test_missing_generic_in_named
Method · 0.72
test_no_pep593
Method · 0.72
test_no_pep593_columns
Method · 0.72