async def test_negate_auto_close_client_pool(self, r: redis.Redis,
                                              auto_close_conn_pool):
     r.auto_close_connection_pool = auto_close_conn_pool
     new_conn = await self.create_two_conn(r)
     await r.close(close_connection_pool=False)
     assert not self.has_no_connected_connections(r.connection_pool)
     assert r.connection_pool._in_use_connections == {new_conn}
     assert r.connection_pool._available_connections[0].is_connected
     assert self.get_total_connected_connections(r.connection_pool) == 2
 async def test_close_override(self, r: redis.Redis, auto_close_conn_pool):
     r.auto_close_connection_pool = auto_close_conn_pool
     await self.create_two_conn(r)
     await r.close(close_connection_pool=True)
     assert self.has_no_connected_connections(r.connection_pool)