Skip to content

Commit

Permalink
fix: save after conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
markus-stoll committed May 29, 2024
1 parent 96bec12 commit 2f4cf4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/ui/test_startpage.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ def take_and_diff_snapshot(
if im1.mode != im2.mode:
im1 = im1.convert("RGB")
im2 = im2.convert("RGB")
im1.save(str(reference_screenshot_path))
im2.save(str(diff_path))

diff_ratio = diff(
str(reference_screenshot_path),
Expand Down

0 comments on commit 2f4cf4a

Please sign in to comment.