MCPcopy Index your code
hub / github.com/sqlalchemy/sqlalchemy / decorate

Function decorate

lib/sqlalchemy/testing/assertions.py:79–81  ·  view source on GitHub ↗
(fn, *args, **kw)

Source from the content-addressed store, hash-verified

77
78 @decorator
79 def decorate(fn, *args, **kw):
80 with expect_warnings(assert_=False, *messages):
81 return fn(*args, **kw)
82
83 return decorate
84

Callers

nothing calls this directly

Calls 3

expect_warningsFunction · 0.85
expect_warnings_onFunction · 0.85
expect_deprecatedFunction · 0.85

Tested by

no test coverage detected