diff --git a/tests/conftest.py b/tests/conftest.py index 5fd6804..5404507 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -39,6 +39,7 @@ def basic_sphinx_app(temp_dir, rootdir): # Custom cleanup to avoid missing_ok issue import sys + from sphinx.testing.util import _clean_up_global_state sys.path[:] = app._saved_path diff --git a/tests/test_integration.py b/tests/test_integration.py index e2016b9..0440b56 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -59,6 +59,7 @@ def test_custom_filename(temp_dir, rootdir): # Custom cleanup to avoid missing_ok issue import sys + from sphinx.testing.util import _clean_up_global_state sys.path[:] = app._saved_path