Skip to content

Commit

Permalink
fix dep warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nabobalis committed Jan 6, 2024
1 parent 39746ee commit 18ebc74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions conftest.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import docutils
import pytest
import sphinx
from sphinx.testing.path import path

from pathlib import Path
# Load app, status and warning fixtures.
pytest_plugins = ["sphinx.testing.fixtures"]

Expand All @@ -18,7 +17,7 @@ def pytest_report_header(config):

@pytest.fixture(scope="session")
def rootdir():
return path(__file__).parent.abspath() / "roots"
return Path(__file__).parent.abspath() / "roots"


@pytest.fixture(scope="function", autouse=True)
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ filterwarnings =
always::pytest.PytestConfigWarning
# Sphinx and other packages raise these
ignore:'imghdr' is deprecated and slated for removal in Python 3.13:DeprecationWarning
# python-datetuil
ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning

[pycodestyle]
max_line_length = 120
Expand Down

0 comments on commit 18ebc74

Please sign in to comment.