You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All tests of Sphinx are written expected that uses pathlib.Path for path-type object and sphinx.testing.fixtures does not care possibility cases using sphinx.testing.path.
It should keep compatibily before release Sphinx 9.x because sphinx.testing.path is but marked deprecated and not removed.
How to Reproduce
I created GitHub repo for reproduction.
git clone http://github.com/attakei-sandbox/sphinx-issue-demo
cd sphinx-issue-demo
pip install .
pytest
Describe the bug
Hi, I develop Sphinx extension (e.g. sphinx-revealjs).
When I run tests using
sphinx.testing.path
forrootdir
of fixtures with Sphinx 8.2.0,all tests raise error unexpected timing.
Expected
Dsiplay
RemovedInSphinx90Warning
, but test passes.Actually
All tests fail with
AttributeError: 'path' object has no attribute 'is_dir'
.Comment
All tests of Sphinx are written expected that uses
pathlib.Path
for path-type object andsphinx.testing.fixtures
does not care possibility cases usingsphinx.testing.path
.It should keep compatibily before release Sphinx 9.x because
sphinx.testing.path
is but marked deprecated and not removed.How to Reproduce
I created GitHub repo for reproduction.
Environment Information
Sphinx extensions
Additional context
No response
The text was updated successfully, but these errors were encountered: