MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _close_event_fixture

Method _close_event_fixture

test/engine/test_pool.py:524–529  ·  test/engine/test_pool.py::PoolEventsTest._close_event_fixture
(self)

Source from the content-addressed store, hash-verified

522 return p, canary
523
524 def _close_event_fixture(self):
525 p = self._queuepool_fixture()
526 canary = Mock()
527 event.listen(p, class="st">"close", canary)
528
529 return p, canary
530
531 def _detach_event_fixture(self):
532 p = self._queuepool_fixture()

Callers 1

test_closeMethod · 0.95

Calls 2

_queuepool_fixtureMethod · 0.80
listenMethod · 0.45

Tested by

no test coverage detected