(self, **kw)
| 89 | return pool |
| 90 | |
| 91 | def _queuepool_dbapi_fixture(self, **kw): |
| 92 | dbapi = MockDBAPI() |
| 93 | _is_asyncio = kw.pop(class="st">"_is_asyncio", False) |
| 94 | _has_terminate = kw.pop(class="st">"_has_terminate", False) |
| 95 | p = pool.QueuePool(creator=lambda: dbapi.connect(class="st">"foo.db"), **kw) |
| 96 | if _is_asyncio: |
| 97 | p._is_asyncio = True |
| 98 | p._dialect = _AsyncConnDialect() |
| 99 | if _has_terminate: |
| 100 | p._dialect.has_terminate = True |
| 101 | return dbapi, p |
| 102 | |
| 103 | |
| 104 | class PoolTest(PoolTestBase): |
no test coverage detected