MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / assert_raises_context_ok

Function assert_raises_context_ok

lib/sqlalchemy/testing/assertions.py:397–398  ·  view source on GitHub ↗
(except_cls, callable_, *args, **kw)

Source from the content-addressed store, hash-verified

395
396
397def assert_raises_context_ok(except_cls, callable_, *args, **kw):
398 return _assert_raises(except_cls, callable_, args, kw)
399
400
401def assert_raises_message(except_cls, msg, callable_, *args, **kwargs):

Calls 1

_assert_raisesFunction · 0.85

Tested by 1