mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 02:06:18 +03:00
xfail tests failing on ppc64le on GHA
(cherry picked from commit 9c7fb5bd14c3064fede96131a0f7f67abf26a4e7)
This commit is contained in:
parent
989c9b303a
commit
a3ab868b0f
|
@ -278,6 +278,12 @@ def is_big_endian():
|
|||
return sys.byteorder == "big"
|
||||
|
||||
|
||||
def is_ppc64le():
|
||||
import platform
|
||||
|
||||
return platform.machine() == "ppc64le"
|
||||
|
||||
|
||||
def is_win32():
|
||||
return sys.platform.startswith("win32")
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ import pytest
|
|||
|
||||
from PIL import Image
|
||||
|
||||
from .helper import assert_image, assert_image_similar, hopper
|
||||
from .helper import assert_image, assert_image_similar, hopper, is_ppc64le
|
||||
|
||||
|
||||
def test_sanity():
|
||||
|
@ -17,6 +17,7 @@ def test_sanity():
|
|||
assert_image_similar(converted.convert("RGB"), image, 60)
|
||||
|
||||
|
||||
@pytest.mark.xfail(is_ppc64le(), reason="failing on ppc64le on GHA")
|
||||
def test_libimagequant_quantize():
|
||||
image = hopper()
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user