Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
test_renderer
so that tests pass with Sphinx 7.2 (#976)
Sphinx was updated in July 2023 so that importing `sphinx.testing.path` no longer causes Sphinx application paths to belong to the class `sphinx.testing.path.path`, which has a `makedirs` method. Instead, Sphinx application paths are now ordinary `Path` objects which lack this method, so we use `os.makedirs` instead. This is backwards compatible as `sphinx.testing.path.path` objects are pathlike and so accepted by `os.makedirs`.
- Loading branch information