Skip to content

Commit

Permalink
Merge pull request python-pillow#4944 from hugovk/mingw-skips
Browse files Browse the repository at this point in the history
Skip test_photoimage on MinGW due to segmentation fault
  • Loading branch information
radarhere authored Oct 4, 2020
2 parents 44da2c3 + 7711a4c commit 6620916
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tests/test_imagetk.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 6620916

Please sign in to comment.