(self)
| 203 | await pool.release(con._con) |
| 204 | |
| 205 | async def test_pool_09(self): |
| 206 | pool1 = await self.create_pool(database='postgres', |
| 207 | min_size=1, max_size=1) |
| 208 | |
| 209 | pool2 = await self.create_pool(database='postgres', |
| 210 | min_size=1, max_size=1) |
| 211 | |
| 212 | try: |
| 213 | con = await pool1.acquire(timeout=POOL_NOMINAL_TIMEOUT) |
| 214 | with self.assertRaisesRegex(asyncpg.InterfaceError, |
| 215 | 'is not a member'): |
| 216 | await pool2.release(con) |
| 217 | finally: |
| 218 | await pool1.release(con) |
| 219 | |
| 220 | await pool1.close() |
| 221 | await pool2.close() |
| 222 | |
| 223 | async def test_pool_10(self): |
| 224 | pool = await self.create_pool(database='postgres', |
nothing calls this directly
no test coverage detected