-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Milestone
Description
https://github.com/sphinx-doc/sphinx-testing is marked deprecated and points to sphinx.testing as a replacement. However, the only documentation for this is https://www.sphinx-doc.org/en/master/devguide.html#unit-testing, which does not provide any details.
My first assumption was that maybe it's sufficient to replace from sphinx_testing import with_app with from sphinx.testing import with_app, but that does not seem to be the case:
ImportError: cannot import name 'with_app' from 'sphinx.testing'
I can sort of figure out the use of sphinx.testing by looking at the source code for Sphinx' own tests, but nonetheless there should be proper documentation. The (closed) issue #3458 already pointed out that documentation is still a todo item.
jnikula, leycec, P403n1x87, kai-tub and ankostis