diff --git a/tests/test_plot/test_misc.py b/tests/test_plot/test_misc.py index 0f5962ba..bab9a66e 100644 --- a/tests/test_plot/test_misc.py +++ b/tests/test_plot/test_misc.py @@ -1624,7 +1624,7 @@ def test_panelize_1(test_dir): prj = 'light_control' ctx = context.TestContext(test_dir, prj, 'panelize_2') ctx.run(extra=[]) - ctx.compare_image(prj+'-panel.png') + ctx.compare_image(prj+'-panel.png', tol=100) ctx.clean_up(keep_project=True) diff --git a/tests/test_plot/test_print_pcb.py b/tests/test_plot/test_print_pcb.py index 7d7ab15b..00c6d103 100644 --- a/tests/test_plot/test_print_pcb.py +++ b/tests/test_plot/test_print_pcb.py @@ -129,7 +129,7 @@ def test_pcb_print_simple_1(test_dir): ctx.run() ctx.expect_out_file(prj+'-F_Cu_mono.png') ctx.expect_out_file(prj+'-F_Cu_color.png') - ctx.compare_image(prj+'-F_Cu_color.png', height='100%') + ctx.compare_image(prj+'-F_Cu_color.png', height='100%', fuzz='10%', tol=50) ctx.expect_out_file(prj+'-assembly_page_01.eps') ctx.expect_out_file(prj+'-assembly_page_01.svg') ctx.expect_out_file(prj+'-assembly.ps')