(self)
| 89 | await asyncio.gather(*tasks) |
| 90 | |
| 91 | async def test_pool_03(self): |
| 92 | pool = await self.create_pool(database='postgres', |
| 93 | init_size=1, min_size=1, max_size=1) |
| 94 | |
| 95 | con = await pool.acquire(timeout=1) |
| 96 | with self.assertRaises(asyncio.TimeoutError): |
| 97 | await pool.acquire(timeout=0.03) |
| 98 | |
| 99 | pool.terminate() |
| 100 | del con |
| 101 | |
| 102 | async def test_pool_04(self): |
| 103 | pool = await self.create_pool(database='postgres', |
nothing calls this directly
no test coverage detected