MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / assert_conns_closed

Function assert_conns_closed

lib/sqlalchemy/testing/engines.py:192–196  ·  view source on GitHub ↗
(fn, *args, **kw)

Source from the content-addressed store, hash-verified

190
191@decorator
192def assert_conns_closed(fn, *args, **kw):
193 try:
194 fn(*args, **kw)
195 finally:
196 testing_reaper.assert_all_closed()
197
198
199@decorator

Callers

nothing calls this directly

Calls 1

assert_all_closedMethod · 0.80

Tested by

no test coverage detected