def test_string(self):
        retry = Retry()
        self.assertEqual(str(retry), 'Retry(total=10, connect=None, read=None, redirect=None)')
        for _ in range(3):
            retry = retry.increment()
        self.assertEqual(str(retry), 'Retry(total=7, connect=None, read=None, redirect=None)')
Check whether the form is valid.
dataset/ETHPy150Open shazow/urllib3/test/test_retry.py/RetryTest.test_string--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/admin/forms.py/AuthenticationSettingsForm.is_valid