We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65e6abf commit 751d697Copy full SHA for 751d697
tests/resources/test_3624_expected.png
17 Bytes
tests/test_general.py
@@ -1711,9 +1711,14 @@ def test_3624():
1711
print(f'Saving to {path_png=}.')
1712
pixmap.save(path_png)
1713
rms = gentle_compare.pixmaps_rms(path_png_expected, path_png)
1714
+ print(f'{rms=}')
1715
# We get small differences in sysinstall tests, where some thirdparty
1716
# libraries can differ.
- assert rms < 1
1717
+ if rms > 1:
1718
+ pixmap_diff = gentle_compare.pixmaps_diff(path_png_expected, path_png)
1719
+ path_png_diff = os.path.normpath(f'{__file__}/../../tests/test_3624_diff.png')
1720
+ pixmap_diff.save(path_png_diff)
1721
+ assert 0, f'{rms=}'
1722
1723
1724
def test_4043():
0 commit comments