Skip TestFromQPixmap on Arch + QT5

This commit is contained in:
hugovk 2019-02-12 22:10:22 +02:00
parent 6b80aa9569
commit 11faaae675

View File

@ -1,9 +1,13 @@
from .helper import PillowTestCase, hopper from .helper import PillowTestCase, distro, hopper, unittest
from .test_imageqt import PillowQPixmapTestCase from .test_imageqt import PillowQPixmapTestCase
from PIL import ImageQt from PIL import ImageQt
@unittest.skipIf(
ImageQt.qt_version == "5" and distro() == "arch",
"TestFromQPixmap fails on Arch + QT5",
)
class TestFromQPixmap(PillowQPixmapTestCase, PillowTestCase): class TestFromQPixmap(PillowQPixmapTestCase, PillowTestCase):
def roundtrip(self, expected): def roundtrip(self, expected):