Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ test = [
"pytest-asyncio==1.3.0",
"pytest-cov==7.1.0",
"pytest-responses==0.5.1",
"responses==0.21.0",
"responses==0.26.0",
]
spawn-pipeline = [
"json-e==4.8.2",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_github_issue_retriever.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,5 +172,5 @@ def test_public_issues_with_random_error() -> None:
status=500,
)

with pytest.raises(requests.adapters.MaxRetryError):
with pytest.raises(requests.exceptions.RetryError):
github_issue_retriever.replace_with_private(data)
3 changes: 1 addition & 2 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import pytest
import requests
import responses
import urllib3
from sklearn.compose import ColumnTransformer
from sklearn.feature_extraction.text import CountVectorizer

Expand Down Expand Up @@ -309,7 +308,7 @@ def test_get_last_modified_error():
headers={},
)

with pytest.raises(urllib3.exceptions.MaxRetryError, match="Max retries exceeded"):
with pytest.raises(requests.exceptions.RetryError):
utils.get_last_modified(url)

assert not os.path.exists("prova.txt")
Expand Down
13 changes: 5 additions & 8 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.