Skip to content

Commit

Permalink
Merge pull request #6970 from radarhere/qt
Browse files Browse the repository at this point in the history
Relax roundtrip check
  • Loading branch information
hugovk committed Feb 24, 2023
2 parents 57acab5 + 19299ac commit 879e77a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/test_qt_image_qapplication.py
Expand Up @@ -48,7 +48,7 @@ def __init__(self):
def roundtrip(expected):
result = ImageQt.fromqpixmap(ImageQt.toqpixmap(expected))
# Qt saves all pixmaps as rgb
assert_image_similar(result, expected.convert("RGB"), 0.5)
assert_image_similar(result, expected.convert("RGB"), 1)


@pytest.mark.skipif(not ImageQt.qt_is_installed, reason="Qt bindings are not installed")
Expand Down

0 comments on commit 879e77a

Please sign in to comment.