Skip to content

Commit 59f4a6f

Browse files
Fix missing skiptest for macOS in Elec2 permission error test
1 parent b8dcf8d commit 59f4a6f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

frouros/tests/integration/test_real.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,12 @@ def test_elec2_file_not_found_error(elec2_raw: Elec2) -> None:
2323
_ = elec2_raw.load()
2424

2525

26-
# FIXME: PermissionError not raised on Windows
26+
# FIXME: PermissionError not raised on Windows or MacOS.
2727
@pytest.mark.skipif(
28-
sys.platform.startswith("win"), reason="PermissionError not raised on Windows.r"
28+
sys.platform.startswith("win"), reason="PermissionError not raised on Windows.",
29+
)
30+
@pytest.mark.skipif(
31+
sys.platform.startswith("darwin"), reason="PermissionError not raised on MacOS.",
2932
)
3033
def test_elec2_permission_error() -> None:
3134
"""Test Elec2 permission error."""

0 commit comments

Comments
 (0)