We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad360fd commit a02551cCopy full SHA for a02551c
pyproject.toml
@@ -286,7 +286,6 @@ module = [
286
"tests.test_transforms.test_transforms_post_transforms_images",
287
"tests.test_transforms.test_transforms_reorder_nodes",
288
# tests/test_util
289
- "tests.test_util.test_util",
290
"tests.test_util.test_util_display",
291
"tests.test_util.test_util_docutils",
292
"tests.test_util.test_util_inventory",
tests/test_util/test_util.py
@@ -2,6 +2,8 @@
2
3
from __future__ import annotations
4
5
+from typing import TYPE_CHECKING
6
+
7
import pytest
8
9
import sphinx.util
@@ -29,8 +31,11 @@
29
31
relative_uri,
30
32
)
33
34
+if TYPE_CHECKING:
35
+ from pathlib import Path
36
37
-def test_ensuredir(tmp_path):
38
+def test_ensuredir(tmp_path: Path) -> None:
39
# Does not raise an exception for an existing directory.
40
ensuredir(tmp_path)
41
0 commit comments