(self)
| 73 | await asyncio.gather(*tasks) |
| 74 | |
| 75 | async def test_pool_03(self): |
| 76 | pool = await self.create_pool(database='postgres', |
| 77 | min_size=1, max_size=1) |
| 78 | |
| 79 | con = await pool.acquire(timeout=1) |
| 80 | with self.assertRaises(asyncio.TimeoutError): |
| 81 | await pool.acquire(timeout=0.03) |
| 82 | |
| 83 | pool.terminate() |
| 84 | del con |
| 85 | |
| 86 | async def test_pool_04(self): |
| 87 | pool = await self.create_pool(database='postgres', |
nothing calls this directly
no test coverage detected