Skip to content

Commit

Permalink
FIX: switch to pathlib.Path
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Sep 28, 2023
1 parent b38daff commit c157f00
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# cspell:ignore rootdir
from pathlib import Path

import pytest
from sphinx.testing.path import path

pytest_plugins = "sphinx.testing.fixtures"
collect_ignore = ["roots"]


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

0 comments on commit c157f00

Please sign in to comment.