(loop)
| 131 | |
| 132 | @pytest.fixture(name='create_pool') |
| 133 | async def fix_create_pool(loop): |
| 134 | pools = [] |
| 135 | |
| 136 | async def create_pool_(settings, *args, **kwargs): |
| 137 | pool = await create_pool(settings, *args, **kwargs) |
| 138 | pools.append(pool) |
| 139 | return pool |
| 140 | |
| 141 | yield create_pool_ |
| 142 | |
| 143 | await asyncio.gather(*[p.close(close_connection_pool=True) for p in pools]) |
| 144 | |
| 145 | |
| 146 | @pytest.fixture(name='cancel_remaining_task') |
nothing calls this directly
no test coverage detected
searching dependent graphs…