Skip to content

Commit

Permalink
[Tests] Relaxed pixel differences
Browse files Browse the repository at this point in the history
- Getting smaller font render errors
  • Loading branch information
set-soft committed Nov 30, 2023
1 parent 3ae382b commit 532f727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def compare_out_pngs(self, out_file='diff.pdf'):
for png in pngs:
name = os.path.basename(png)
diff = os.path.splitext(name)[0]+'-diff.png'
self.compare_image(name, name, diff=diff)
self.compare_image(name, name, diff=diff, fuzz='35%')

def compare_pdf(self, gen, reference=None, diff='diff-{}.png'):
""" For multi-page PDFs """
Expand Down

0 comments on commit 532f727

Please sign in to comment.