MCPcopy
hub / github.com/sqlalchemy/alembic / assert_raises_message

Function assert_raises_message

alembic/testing/assertions.py:51–54  ·  view source on GitHub ↗
(except_cls, msg, callable_, *args, **kwargs)

Source from the content-addressed store, hash-verified

49
50
51def assert_raises_message(except_cls, msg, callable_, *args, **kwargs):
52 return _assert_raises(
53 except_cls, callable_, args, kwargs, msg=msg, check_context=True
54 )
55
56
57def assert_raises_message_context_ok(

Calls 1

_assert_raisesFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…