From 7711a4c94da0d11e169bdc3295d97609afa76fa4 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sun, 4 Oct 2020 00:33:31 +0300 Subject: [PATCH] Skip due to segmentation fault --- Tests/test_imagetk.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tests/test_imagetk.py b/Tests/test_imagetk.py index 928b8cbd1..58067dfa5 100644 --- a/Tests/test_imagetk.py +++ b/Tests/test_imagetk.py @@ -2,7 +2,7 @@ import pytest from PIL import Image -from .helper import assert_image_equal, hopper +from .helper import assert_image_equal, hopper, is_mingw try: import tkinter as tk @@ -52,6 +52,7 @@ def test_kw(): assert im is None +@pytest.mark.skipif(is_mingw(), reason="Segmentation fault") def test_photoimage(): for mode in TK_MODES: # test as image: