Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sqlalchemy/sqlalchemy
/ expect_raises_message
Function
expect_raises_message
lib/sqlalchemy/testing/assertions.py:499–500 ·
view source on GitHub ↗
(except_cls, msg, check_context=True)
Source
from the content-addressed store, hash-verified
497
498
499
def
expect_raises_message(except_cls, msg, check_context=True):
500
return
_expect_raises(except_cls, msg=msg, check_context=check_context)
501
502
503
class
AssertsCompiledSQL:
Callers
15
test_python_impl_not_present
Method · 0.90
test_values_illegal
Method · 0.90
test_unconsumed_names_values_dict
Method · 0.90
test_raise_if_totally_different_table
Method · 0.90
test_update_from_join_unsupported_cases
Method · 0.90
test_splice_horizontally
Method · 0.90
test_keys_no_rows
Method · 0.90
test_pickled_rows
Method · 0.90
test_row_getitem_string
Method · 0.90
test_row_getitem_column
Method · 0.90
test_column_accessor_basic_text
Method · 0.90
test_column_accessor_textual_select
Method · 0.90
Calls
1
_expect_raises
Function · 0.85
Tested by
15
test_python_impl_not_present
Method · 0.72
test_values_illegal
Method · 0.72
test_unconsumed_names_values_dict
Method · 0.72
test_raise_if_totally_different_table
Method · 0.72
test_update_from_join_unsupported_cases
Method · 0.72
test_splice_horizontally
Method · 0.72
test_keys_no_rows
Method · 0.72
test_pickled_rows
Method · 0.72
test_row_getitem_string
Method · 0.72
test_row_getitem_column
Method · 0.72
test_column_accessor_basic_text
Method · 0.72
test_column_accessor_textual_select
Method · 0.72