Allow skipping Qt build test on macOS

This commit is contained in:
Kovid Goyal 2017-05-29 16:31:19 +05:30
parent b928034dcb
commit 07dd6d4803
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -133,6 +133,7 @@ class BuildTest(unittest.TestCase):
conn = apsw.Connection(':memory:')
conn.close()
@unittest.skipIf('SKIP_QT_BUILD_TEST' in os.environ, 'Skipping Qt build test as it causes crashes in the macOS VM')
def test_qt(self):
from PyQt5.Qt import QImageReader, QNetworkAccessManager, QFontDatabase
from calibre.utils.img import image_from_data, image_to_data, test