From e1164ef892a131860c70eeeaccca3a14b7a4498a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 9 Oct 2016 15:12:14 +0530 Subject: [PATCH] ... --- src/calibre/test_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/test_build.py b/src/calibre/test_build.py index 05367bff0a..a345bf39d8 100644 --- a/src/calibre/test_build.py +++ b/src/calibre/test_build.py @@ -128,7 +128,7 @@ class BuildTest(unittest.TestCase): fmts = set(map(unicode, QImageReader.supportedImageFormats())) testf = {'jpg', 'png', 'svg', 'ico', 'gif'} 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 = I('blank.png', allow_user_override=False, data=True) + 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)) for fmt in 'png bmp jpeg'.split():