mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-14 17:32:12 -05:00
Remove mypy overrides for `tests/test_environment/test_environment.py` (#13792)
This commit is contained in:
1 parent
d74e54415b
commit
ab5d43c0ba
2 files changed
+6
-3
No files matched your search
@@ -256,8 +256,6 @@ module = [
|
||||
# tests/test_directives
|
||||
"tests.test_directives.test_directive_code",
|
||||
"tests.test_directives.test_directives_no_typesetting",
|
||||
# tests/test_environment
|
||||
"tests.test_environment.test_environment",
|
||||
# tests/test_extensions
|
||||
"tests.test_extensions.test_ext_autodoc_autoclass",
|
||||
"tests.test_extensions.test_ext_autosummary_imports",
|
||||
|
||||
@@ -21,11 +21,16 @@ from sphinx.environment import (
|
||||
)
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from collections.abc import Callable
|
||||
|
||||
from sphinx.testing.fixtures import _app_params
|
||||
from sphinx.testing.util import SphinxTestApp
|
||||
|
||||
|
||||
@pytest.mark.sphinx('dummy', testroot='basic', copy_test_root=True)
|
||||
def test_config_status(make_app, app_params):
|
||||
def test_config_status(
|
||||
make_app: Callable[..., SphinxTestApp], app_params: _app_params
|
||||
) -> None:
|
||||
args, kwargs = app_params
|
||||
|
||||
# clean build
|
||||
|
||||
Reference in new issue
Block a user