

def test_retry_higher_total_loses_vs_read(self):
    ' A lower read timeout than the total is honored '
    error = ReadTimeoutError(None, '/', 'read timed out')
    retry = Retry(read=2, total=3)
    retry = retry.increment(error=error)
    retry = retry.increment(error=error)
    self.assertRaises(MaxRetryError, retry.increment, error=error)

dataset/ETHPy150Open shazow/urllib3/test/test_retry.py RetryTest.test_retry_higher_total_loses_vs_read/original