From 5c6872a8832eb34323cc8709cf81ff108c63ad1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Chaves?= Date: Sat, 15 Mar 2025 02:32:06 +0100 Subject: [PATCH] Keep pylint happy --- tests/test_spider_yield_seeds.py | 2 +- tests/test_spidermiddleware_process_seeds.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_spider_yield_seeds.py b/tests/test_spider_yield_seeds.py index 44030abd0..67b2857dd 100644 --- a/tests/test_spider_yield_seeds.py +++ b/tests/test_spider_yield_seeds.py @@ -203,7 +203,7 @@ class MainTestCase(TestCase): async def test_exception_before_yield(self): async def yield_seeds(spider): raise RuntimeError - yield + yield # pylint: disable=unreachable with LogCapture() as log: await self._test_yield_seeds(yield_seeds, []) diff --git a/tests/test_spidermiddleware_process_seeds.py b/tests/test_spidermiddleware_process_seeds.py index fccdca0f1..10dd560fa 100644 --- a/tests/test_spidermiddleware_process_seeds.py +++ b/tests/test_spidermiddleware_process_seeds.py @@ -275,7 +275,7 @@ class MainTestCase(TestCase): async def test_exception_before_yield(self): async def process_seeds(mw, seeds): raise RuntimeError - yield + yield # pylint: disable=unreachable with LogCapture() as log: await self._test_process_seeds(process_seeds, [])