mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-25 22:54:46 +03:00
Skip TestFromQPixmap on Arch + QT5
This commit is contained in:
parent
6b80aa9569
commit
11faaae675
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user