Skip to content

Commit

Permalink
Ignore forward-ported code for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Gallaecio committed Jun 5, 2024
1 parent d27ea55 commit 336523e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapy_zyte_api/_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class DummyResponse: # type: ignore[no-redef]

try:
from scrapy.downloadermiddlewares.retry import get_retry_request
except ImportError:
except ImportError: # pragma: no cover
# https://github.com/scrapy/scrapy/blob/b1fe97dc6c8509d58b29c61cf7801eeee1b409a9/scrapy/downloadermiddlewares/retry.py#L57-L142
def get_retry_request(
request,
Expand Down

0 comments on commit 336523e

Please sign in to comment.