From 597a0286a36aebe55b778c65d189a46efddf353a Mon Sep 17 00:00:00 2001 From: Dan LaManna Date: Thu, 19 Jun 2025 03:22:04 -0400 Subject: [PATCH] Skip permissions test on macos --- tests/test_cli_metadata.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_cli_metadata.py b/tests/test_cli_metadata.py index 6a56b6e..a8e8e27 100644 --- a/tests/test_cli_metadata.py +++ b/tests/test_cli_metadata.py @@ -88,7 +88,9 @@ def test_metadata_download_file(cli_runner): assert re.search(r"ISIC_0000000.*Foo.*CC-0.*melanoma.*male", output), output -@pytest.mark.skipif(sys.platform == "win32", reason="Windows does not support this test") +@pytest.mark.skipif( + sys.platform in ["win32", "darwin"], reason="Windows and macOS don't support this test" +) @pytest.mark.usefixtures("_mock_image_metadata", "_isolated_filesystem") def test_metadata_download_file_no_write(cli_run): result = cli_run(["metadata", "download", "-o", "/metadata.csv"])