提交 1f7665c4 编写于 作者: A Adrián Chaves

Silence a PyLint check on a mistake made for testing purposes

上级 722a33a2
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册