From 7544f75a539f881962240400f57885f5711d8fe1 Mon Sep 17 00:00:00 2001 From: SET Date: Thu, 13 Aug 2020 22:32:15 -0300 Subject: [PATCH] Fixed problems when comparing gray scale images. --- tests/utils/context.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/utils/context.py b/tests/utils/context.py index ae15bb9b..5e5ca342 100644 --- a/tests/utils/context.py +++ b/tests/utils/context.py @@ -298,6 +298,7 @@ class TestContext(object): os.path.join(REF_DIR, reference), # Avoid the part where KiCad version is printed '-crop', '100%x92%+0+0', '+repage', + '-colorspace', 'RGB', self.get_out_path(diff)] logging.debug('Comparing images with: '+str(cmd)) res = subprocess.check_output(cmd, stderr=subprocess.STDOUT)