From: Dmitry Shachnev <mitya57@debian.org>
Date: Tue, 10 Feb 2026 20:33:21 +0300
Subject: Stop using deprecated sphinx.testing.path

It is removed in Sphinx 9.

Forwarded: https://github.com/provinzkraut/AutoPyTabs/pull/9
---
 test/conftest.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/test/conftest.py b/test/conftest.py
index 58550d8..a9d8009 100644
--- a/test/conftest.py
+++ b/test/conftest.py
@@ -10,7 +10,6 @@ from typing import TYPE_CHECKING, Any
 
 import pytest
 from auto_pytabs.core import Cache
-from sphinx.testing.path import path as sphinx_path
 
 if TYPE_CHECKING:
     from unittest.mock import MagicMock
@@ -102,7 +101,7 @@ def sphinx_builder(tmp_path: Path, make_app, monkeypatch):
             [f"{key} = {value!r}" for key, value in conf_kwargs.items()]
         )
         src_path.joinpath("conf.py").write_text(content, encoding="utf8")
-        app = make_app(srcdir=sphinx_path(str(src_path.resolve())), buildername="html")
+        app = make_app(srcdir=src_path.resolve(), buildername="html")
         shutil.copy(
             "test/sphinx_ext_test_data/example.py", src_path.joinpath("example.py")
         )
