Skip to content

Commit

Permalink
test: Relax assertion (macos can take 1.11s)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jan 24, 2024
1 parent 203fdb2 commit 3404e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_delayed_request_middleware.py
Expand Up @@ -37,7 +37,7 @@ def download_func(spider, request):
spent = time.time() - start

assert results == [request]
assert 1 <= spent <= 1.01, spent
assert 1 <= spent <= 1.5, spent


if __name__ == "__main__":
Expand Down

0 comments on commit 3404e28

Please sign in to comment.