MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _invalidate_event_fixture

Method _invalidate_event_fixture

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

Source from the content-addressed store, hash-verified

508 return p, canary
509
510 def _invalidate_event_fixture(self):
511 p = self._queuepool_fixture()
512 canary = Mock()
513 event.listen(p, "invalidate", canary)
514
515 return p, canary
516
517 def _soft_invalidate_event_fixture(self):
518 p = self._queuepool_fixture()

Calls 2

_queuepool_fixtureMethod · 0.80
listenMethod · 0.45

Tested by

no test coverage detected