1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
diff --git a/tests/examples/test_downloads.py b/tests/examples/test_downloads.py
index 2585e40..b17d272 100644
--- a/tests/examples/test_downloads.py
+++ b/tests/examples/test_downloads.py
@@ -6,7 +6,6 @@ from pathlib import PureWindowsPath
import pytest
import requests
-from retry_requests import retry
import pyvista as pv
from pyvista import examples
@@ -39,13 +38,8 @@ def test_dataset_loader_name_matches_download_name(test_case: DatasetLoaderTestC
def _is_valid_url(url):
- session = retry(
- status_to_retry=[500, 502, 504, 403, 429], # default + GH rate limit (403, 429)
- retries=5,
- backoff_factor=2.0,
- )
try:
- session.get(url)
+ requests.get(url)
except requests.RequestException:
return False
else:
|