Skip to content

Commit

Permalink
Revert "[refactor] Replace deprecated sphinx.testing.path"
Browse files Browse the repository at this point in the history
This reverts commit bd4ff02.
  • Loading branch information
ftnext committed Oct 8, 2023
1 parent bd4ff02 commit e43f4a2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
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():
return Path(__file__).resolve().parent / "roots"
return path(__file__).parent.abspath() / "roots"

0 comments on commit e43f4a2

Please sign in to comment.