(self)
| 121 | await pool.close() |
| 122 | |
| 123 | async def test_pool_06(self): |
| 124 | fut = asyncio.Future() |
| 125 | |
| 126 | async def setup(con): |
| 127 | fut.set_result(con) |
| 128 | |
| 129 | async with self.create_pool(database='postgres', |
| 130 | min_size=5, max_size=5, |
| 131 | setup=setup) as pool: |
| 132 | async with pool.acquire() as con: |
| 133 | pass |
| 134 | |
| 135 | self.assertIs(con, await fut) |
| 136 | |
| 137 | async def test_pool_07(self): |
| 138 | cons = set() |
nothing calls this directly
no test coverage detected