MCPcopy
hub / github.com/MagicStack/asyncpg / test_pool_10

Method test_pool_10

tests/test_pool.py:223–231  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

221 await pool2.close()
222
223 async def test_pool_10(self):
224 pool = await self.create_pool(database='postgres',
225 min_size=1, max_size=1)
226
227 con = await pool.acquire()
228 await pool.release(con)
229 await pool.release(con)
230
231 await pool.close()
232
233 async def test_pool_11(self):
234 pool = await self.create_pool(database='postgres',

Callers

nothing calls this directly

Calls 4

create_poolMethod · 0.45
acquireMethod · 0.45
releaseMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected