Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 3532478

Browse files
committed
cleanup
1 parent c1429d5 commit 3532478

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration_test_40_results.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def test_results_progress(
5757
"maximum_tries,raises",
5858
[
5959
(500, does_not_raise()),
60-
(1, pytest.raises(requests.exceptions.ConnectionError, match="Random error.")),
60+
(1, pytest.raises(requests.ConnectionError, match="Random error.")),
6161
],
6262
)
6363
def test_results_robust_download(
@@ -73,7 +73,7 @@ def test_results_robust_download(
7373
def patched_iter_content(self, *args, **kwargs): # type: ignore
7474
for chunk in self.iter_content(chunk_size=1):
7575
if random.choice([True, False]):
76-
raise requests.exceptions.ConnectionError("Random error.")
76+
raise requests.ConnectionError("Random error.")
7777
yield chunk
7878

7979
def make_stream(self): # type: ignore

0 commit comments

Comments
 (0)