Skip to content

Commit 4f3fb34

Browse files
committed
Remove test from stdlib pathlib
1 parent 7842c06 commit 4f3fb34

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

tests/test_paths_stdlib.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -550,18 +550,6 @@ def test_is_fifo_false(BASE):
550550
assert not ((P / "fileA" / "bah").is_fifo())
551551

552552

553-
@pytest.mark.skipif(not hasattr(os, "mkfifo"), reason="os.mkfifo() required")
554-
def test_is_fifo_true(BASE):
555-
P = PathPlus(BASE) / "myfifo"
556-
try:
557-
os.mkfifo(str(P))
558-
except PermissionError as e:
559-
pytest.skip("os.mkfifo(): %s" % e)
560-
assert (P.is_fifo())
561-
assert not (P.is_socket())
562-
assert not (P.is_file())
563-
564-
565553
def test_is_socket_false(BASE):
566554
P = PathPlus(BASE)
567555
assert not (P / "fileA").is_socket()

0 commit comments

Comments
 (0)