(*args, **kwargs)
| 366 | pool = get_pool(client) |
| 367 | |
| 368 | def mock_connect(*args, **kwargs): |
| 369 | raise ConnectionFailure("connect failed") |
| 370 | |
| 371 | pool.connect = mock_connect |
| 372 | # Un-patch Pool.connect to break the cyclic reference. |
nothing calls this directly
no test coverage detected