mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +03:00
Merge pull request #4944 from hugovk/mingw-skips
Skip test_photoimage on MinGW due to segmentation fault
This commit is contained in:
commit
6620916884
|
@ -2,7 +2,7 @@ import pytest
|
||||||
|
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
|
||||||
from .helper import assert_image_equal, hopper
|
from .helper import assert_image_equal, hopper, is_mingw
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import tkinter as tk
|
import tkinter as tk
|
||||||
|
@ -52,6 +52,7 @@ def test_kw():
|
||||||
assert im is None
|
assert im is None
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.skipif(is_mingw(), reason="Segmentation fault")
|
||||||
def test_photoimage():
|
def test_photoimage():
|
||||||
for mode in TK_MODES:
|
for mode in TK_MODES:
|
||||||
# test as image:
|
# test as image:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user