Keep pylint happy

This commit is contained in:
Adrián Chaves 2025-03-15 02:32:06 +01:00
parent 734f4e9a1a
commit 5c6872a883
2 changed files with 2 additions and 2 deletions

View File

@ -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, [])

View File

@ -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, [])