MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _reset_event_fixture

Method _reset_event_fixture

test/engine/test_pool.py:499–508  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

497 return p, canary
498
499 def _reset_event_fixture(self):
500 p = self._queuepool_fixture()
501 canary = []
502
503 def reset(*arg, **kw):
504 canary.append("reset")
505
506 event.listen(p, "reset", reset)
507
508 return p, canary
509
510 def _invalidate_event_fixture(self):
511 p = self._queuepool_fixture()

Callers 1

test_reset_eventMethod · 0.95

Calls 2

_queuepool_fixtureMethod · 0.80
listenMethod · 0.45

Tested by

no test coverage detected