diff --git a/Tests/test_image_access.py b/Tests/test_image_access.py index ee8a92d5eaf..a4d7847e60c 100644 --- a/Tests/test_image_access.py +++ b/Tests/test_image_access.py @@ -260,7 +260,11 @@ def test_putpixel_overflow_error(self, mode: str) -> None: class TestEmbeddable: - @pytest.mark.xfail(not (sys.version_info >= (3, 13)), reason="failing test") + @pytest.mark.xfail( + sysconfig.get_platform().startswith("mingw") + or not (sys.version_info >= (3, 13)), + reason="failing test", + ) @pytest.mark.skipif(not is_win32(), reason="requires Windows") def test_embeddable(self) -> None: pytest.importorskip("setuptools", reason="setuptools not installed")