(self)
| 776 | self.assertEqual(pool.get_idle_size(), 0) |
| 777 | |
| 778 | async def test_pool_closing(self): |
| 779 | async with self.create_pool() as pool: |
| 780 | self.assertFalse(pool.is_closing()) |
| 781 | await pool.close() |
| 782 | self.assertTrue(pool.is_closing()) |
| 783 | |
| 784 | async with self.create_pool() as pool: |
| 785 | self.assertFalse(pool.is_closing()) |
| 786 | pool.terminate() |
| 787 | self.assertTrue(pool.is_closing()) |
| 788 | |
| 789 | async def test_pool_handles_transaction_exit_in_asyncgen_1(self): |
| 790 | pool = await self.create_pool(database='postgres', |
nothing calls this directly
no test coverage detected