From 11faaae675ef1bbaeb11d4572abec69133e44fdc Mon Sep 17 00:00:00 2001 From: hugovk Date: Tue, 12 Feb 2019 22:10:22 +0200 Subject: [PATCH] Skip TestFromQPixmap on Arch + QT5 --- Tests/test_qt_image_fromqpixmap.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Tests/test_qt_image_fromqpixmap.py b/Tests/test_qt_image_fromqpixmap.py index 358f1573d..fdf8cdc9b 100644 --- a/Tests/test_qt_image_fromqpixmap.py +++ b/Tests/test_qt_image_fromqpixmap.py @@ -1,9 +1,13 @@ -from .helper import PillowTestCase, hopper +from .helper import PillowTestCase, distro, hopper, unittest from .test_imageqt import PillowQPixmapTestCase from PIL import ImageQt +@unittest.skipIf( + ImageQt.qt_version == "5" and distro() == "arch", + "TestFromQPixmap fails on Arch + QT5", +) class TestFromQPixmap(PillowQPixmapTestCase, PillowTestCase): def roundtrip(self, expected):