8000 Appease mypy on Windows · domdfcoding/domdf_python_tools@95489de · GitHub
[go: up one dir, main page]

Skip to content

Commit 95489de

Browse files
committed
Appease mypy on Windows
1 parent 347454c commit 95489de

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test_paths_stdlib.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ def test_lstat_nosymlink(BASE: PathPlus):
204204
def test_owner(BASE: PathPlus):
205205
pwd = pytest.importorskip("pwd", reason="the pwd module is needed for this test")
206206

207+
if sys.platform == "win32":
208+
return
209+
207210
p = PathPlus(BASE) / "fileA"
208211
uid = p.stat().st_uid
209212
try:
@@ -216,6 +219,9 @@ def test_owner(BASE: PathPlus):
216219
def test_group(BASE: PathPlus):
217220
grp = pytest.importorskip("grp", reason="the grp module is needed for this test")
218221

222+
if sys.platform == "win32":
223+
return
224+
219225
p = PathPlus(BASE) / "fileA"
220226
gid = p.stat().st_gid
221227
try:

0 commit comments

Comments
 (0)
0