diff --git a/tests/link/c/test_cmodule.py b/tests/link/c/test_cmodule.py index 5187530e65..dd6e3f3b1f 100644 --- a/tests/link/c/test_cmodule.py +++ b/tests/link/c/test_cmodule.py @@ -7,6 +7,7 @@ import logging import multiprocessing import os +import sys import tempfile from unittest.mock import patch @@ -221,6 +222,7 @@ def test_linking_patch(listdir_mock, platform): ] +@pytest.mark.skipif(sys.platform == "darwin", reason="Fails on MacOS") def test_cache_race_condition(): with tempfile.TemporaryDirectory() as dir_name: