File tree 3 files changed +13
-0
lines changed
3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ Contributors
74
74
* Juan Luis Cano Rodríguez -- new tutorial (2021)
75
75
* Julien Palard -- Colspan and rowspan in text builder
76
76
* Justus Magin -- napoleon improvements
77
+ * Kazuya Take -- ``sphinx.testing.path `` bug fix
77
78
* Kevin Dunn -- MathJax extension
78
79
* KINEBUCHI Tomohiko -- typing Sphinx as well as docutils
79
80
* Kurt McKee -- documentation updates
Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ Features added
16
16
Bugs fixed
17
17
----------
18
18
19
+ * #13377: Restore support for using ``sphinx.testing.path `` paths with
20
+ ``sphinx.testing.fixtures ``.
21
+ Patch by Kazuya Takei.
22
+
19
23
Testing
20
24
-------
21
25
Original file line number Diff line number Diff line change @@ -58,18 +58,26 @@ def isdir(self) -> bool:
58
58
"""Returns ``True`` if the path is a directory."""
59
59
return os .path .isdir (self )
60
60
61
+ is_dir = isdir
62
+
61
63
def isfile (self ) -> bool :
62
64
"""Returns ``True`` if the path is a file."""
63
65
return os .path .isfile (self )
64
66
67
+ is_file = isfile
68
+
65
69
def islink (self ) -> bool :
66
70
"""Returns ``True`` if the path is a symbolic link."""
67
71
return os .path .islink (self )
68
72
73
+ is_symlink = islink
74
+
69
75
def ismount (self ) -> bool :
70
76
"""Returns ``True`` if the path is a mount point."""
71
77
return os .path .ismount (self )
72
78
79
+ is_mount = ismount
80
+
73
81
def rmtree (
74
82
self ,
75
83
ignore_errors : bool = False ,
You can’t perform that action at this time.
0 commit comments