mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-29 18:54:16 +03:00
Skip test_floodfill_border() on PyPy
Otherwise it sometimes, but not always, causes an error: RPython traceback: File "rpython_jit_metainterp_compile.c", line 20472, in send_loop_to_backend File "rpython_jit_backend_x86_assembler.c", line 1818, in Assembler386_assemble_loop File "rpython_jit_backend_x86_regalloc.c", line 293, in RegAlloc_prepare_loop File "rpython_jit_backend_x86_regalloc.c", line 909, in RegAlloc__prepare File "rpython_jit_backend_llsupport_regalloc.c", line 4706, in compute_vars_longevity Fatal RPython error: AssertionError /home/travis/build.sh: line 236: 7300 Aborted
This commit is contained in:
parent
e87ae09328
commit
0eb92eccd7
|
@ -4,6 +4,8 @@ from PIL import Image
|
||||||
from PIL import ImageColor
|
from PIL import ImageColor
|
||||||
from PIL import ImageDraw
|
from PIL import ImageDraw
|
||||||
|
|
||||||
|
import sys
|
||||||
|
|
||||||
# Image size
|
# Image size
|
||||||
w, h = 100, 100
|
w, h = 100, 100
|
||||||
|
|
||||||
|
@ -225,7 +227,11 @@ class TestImageDraw(PillowTestCase):
|
||||||
self.assert_image_equal(
|
self.assert_image_equal(
|
||||||
im, Image.open("Tests/images/imagedraw_floodfill.png"))
|
im, Image.open("Tests/images/imagedraw_floodfill.png"))
|
||||||
|
|
||||||
|
@unittest.skipIf(hasattr(sys, 'pypy_version_info'),
|
||||||
|
"Causes fatal RPython error on PyPy")
|
||||||
def test_floodfill_border(self):
|
def test_floodfill_border(self):
|
||||||
|
# floodfill() is experimental
|
||||||
|
|
||||||
# Arrange
|
# Arrange
|
||||||
im = Image.new("RGB", (w, h))
|
im = Image.new("RGB", (w, h))
|
||||||
draw = ImageDraw.Draw(im)
|
draw = ImageDraw.Draw(im)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user