Silence a PyLint check on a mistake made for testing purposes

This commit is contained in:
Adrián Chaves 2021-02-22 16:48:10 +01:00
parent 722a33a2ac
commit 1f7665c4cf
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ class GetRetryRequestTest(unittest.TestCase):
def test_no_spider(self):
request = Request('https://example.com')
with self.assertRaises(TypeError):
get_retry_request(request)
get_retry_request(request) # pylint: disable=missing-kwoa
def test_max_retry_times_setting(self):
max_retry_times = 0