mirror of https://github.com/scrapy/scrapy.git
Keep pylint happy
This commit is contained in:
parent
734f4e9a1a
commit
5c6872a883
|
|
@ -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, [])
|
||||
|
|
|
|||
|
|
@ -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, [])
|
||||
|
|
|
|||
Loading…
Reference in New Issue