Skip to content

Commit

Permalink
Undo all monty changes now it has been fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Jan 4, 2025
1 parent f94d193 commit b1d2d18
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 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
]
13 changes: 0 additions & 13 deletions tests/adapters/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,6 @@
import requests


@pytest.fixture(autouse=True, scope="module")
def set_ci_env(monkeypatch):
"""Super unpleasant workaround to deal with monty's deprecation behaviour,
see:
- https://github.com/materialsproject/pymatgen/issues/4243
- https://github.com/materialsvirtuallab/monty/pull/735
"""
monkeypatch.delenv("CI", raising=False)
yield


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

0 comments on commit b1d2d18

Please sign in to comment.