File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,6 @@ module = [
258258 " tests.test_builders.test_build_html_numfig" ,
259259 " tests.test_builders.test_build_html_toctree" ,
260260 " tests.test_builders.test_build_linkcheck" ,
261- " tests.test_builders.test_build_warnings" ,
262261 # tests/test_directives
263262 " tests.test_directives.test_directive_code" ,
264263 " tests.test_directives.test_directives_no_typesetting" ,
Original file line number Diff line number Diff line change 1212from sphinx .errors import SphinxError
1313
1414if TYPE_CHECKING :
15+ from collections .abc import Callable
16+ from pathlib import Path
17+
1518 from sphinx .testing .util import SphinxTestApp
1619
1720ENV_WARNINGS = """\
@@ -117,7 +120,9 @@ def test_texinfo_warnings(app: SphinxTestApp) -> None:
117120 _check_warnings (warnings_exp , app .warning .getvalue ())
118121
119122
120- def test_uncacheable_config_warning (make_app , tmp_path ):
123+ def test_uncacheable_config_warning (
124+ make_app : Callable [..., SphinxTestApp ], tmp_path : Path
125+ ) -> None :
121126 """Test that an unpickleable config value raises a warning."""
122127 tmp_path .joinpath ('conf.py' ).write_text (
123128 """\
You can’t perform that action at this time.
0 commit comments