Skip to content

Commit

Permalink
Remove unnecessary monty workaround (#2206)
Browse files Browse the repository at this point in the history
* Final attempt to fix CI pending monty release

* Undo all monty changes now it has been fixed
  • Loading branch information
ml-evs authored Jan 4, 2025
1 parent b833036 commit 5626c74
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -167,5 +167,4 @@ filterwarnings = [
"ignore:.*The 'app' shortcut is now deprecated.*:DeprecationWarning", # Raised by httpx for test client code; would rather not force upgrade of httpx to deal with it for now
"ignore::pytest.PytestUnraisableExceptionWarning", # Started raising with pytest 8.2.1, seemingly related to anyio warnings
"ignore:.*Unclosed.*:ResourceWarning", # Also started raising with pytest 8.2.1, seemingly related to anyio warnings
"ignore:.*This function should have been removed on 2025-01-01*:DeprecationWarning", # Raised by monty, who knows when it will actually be removed
]
7 changes: 0 additions & 7 deletions tests/adapters/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@
import requests


@pytest.fixture(autouse=True)
def set_ci_env(monkeypatch):
"""Super unpleasant workaround to deal with monty's deprecation behaviour."""
monkeypatch.setenv("CI", "false")
yield


@pytest.fixture
def mock_requests_get(monkeypatch):
"""Patch requests.get to return the desired mock response."""
Expand Down

0 comments on commit 5626c74

Please sign in to comment.