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 @@ -286,7 +286,6 @@ module = [
286
286
" tests.test_transforms.test_transforms_post_transforms_images" ,
287
287
" tests.test_transforms.test_transforms_reorder_nodes" ,
288
288
# tests/test_util
289
- " tests.test_util.test_util" ,
290
289
" tests.test_util.test_util_display" ,
291
290
" tests.test_util.test_util_docutils" ,
292
291
" tests.test_util.test_util_inventory" ,
Original file line number Diff line number Diff line change 2
2
3
3
from __future__ import annotations
4
4
5
+ from typing import TYPE_CHECKING
6
+
5
7
import pytest
6
8
7
9
import sphinx .util
29
31
relative_uri ,
30
32
)
31
33
34
+ if TYPE_CHECKING :
35
+ from pathlib import Path
36
+
32
37
33
- def test_ensuredir (tmp_path ) :
38
+ def test_ensuredir (tmp_path : Path ) -> None :
34
39
# Does not raise an exception for an existing directory.
35
40
ensuredir (tmp_path )
36
41
You can’t perform that action at this time.
0 commit comments