

def test_retry_both_specified(self):
    "Total can win if it's lower than the connect value"
    error = ConnectTimeoutError()
    retry = Retry(connect=3, total=2)
    retry = retry.increment(error=error)
    retry = retry.increment(error=error)
    try:
        retry.increment(error=error)
        self.fail('Failed to raise error.')
    except MaxRetryError as e:
        self.assertEqual(self.reason, error)

dataset/ETHPy150Open shazow/urllib3/test/test_retry.py RetryTest.test_retry_both_specified/VarMisuse@85/129 `e`->`self`