MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / test_pool_10

Method test_pool_10

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

Source from the content-addressed store, hash-verified

239 await pool2.close()
240
241 async def test_pool_10(self):
242 pool = await self.create_pool(database='postgres',
243 init_size=1, min_size=1, max_size=1)
244
245 con = await pool.acquire()
246 await pool.release(con)
247 await pool.release(con)
248
249 await pool.close()
250
251 async def test_pool_11(self):
252 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