(self)
| 1280 | self.assertEqual(pool.get_idle_size(), 0) |
| 1281 | |
| 1282 | async def test_pool_closing(self): |
| 1283 | async with self.create_pool() as pool: |
| 1284 | self.assertFalse(pool.is_closing()) |
| 1285 | await pool.close() |
| 1286 | self.assertTrue(pool.is_closing()) |
| 1287 | |
| 1288 | async with self.create_pool() as pool: |
| 1289 | self.assertFalse(pool.is_closing()) |
| 1290 | pool.terminate() |
| 1291 | self.assertTrue(pool.is_closing()) |
| 1292 | |
| 1293 | async def test_pool_handles_transaction_exit_in_asyncgen_1(self): |
| 1294 | pool = await self.create_pool(database='postgres', |
nothing calls this directly
no test coverage detected