You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
691 B
11 lines
691 B
--- a/src/calibre/test_build.py
|
|
+++ b/src/calibre/test_build.py
|
|
@@ -306,7 +306,6 @@ class BuildTest(unittest.TestCase):
|
|
# then it is a distro problem.
|
|
fmts = set(map(lambda x: x.data().decode('utf-8'), QImageReader.supportedImageFormats())) # no2to3
|
|
testf = {'jpg', 'png', 'svg', 'ico', 'gif', 'webp'}
|
|
- self.assertEqual(testf.intersection(fmts), testf, "Qt doesn't seem to be able to load some of its image plugins. Available plugins: %s" % fmts)
|
|
data = P('images/blank.png', allow_user_override=False, data=True)
|
|
img = image_from_data(data)
|
|
image_from_data(P('catalog/mastheadImage.gif', allow_user_override=False, data=True))
|