Skip to content

Commit

Permalink
Fix sphinx.testing deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
npilon authored and timkpaine committed Sep 12, 2024
1 parent 86593b4 commit 4bb5a8c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
from pathlib import Path

import pytest
from sphinx.testing.path import path

pytest_plugins = 'sphinx.testing.fixtures'


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

0 comments on commit 4bb5a8c

Please sign in to comment.