mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-10 16:22:22 +03:00
Update Tests/test_file_tiff_metadata.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
parent
ee26eb8608
commit
f86f11c843
|
@ -304,7 +304,7 @@ def test_tagtype_on_zero_denominator(
|
|||
assert isinstance(reloaded, TiffImagePlugin.TiffImageFile)
|
||||
if expected == TiffTags.RATIONAL:
|
||||
assert reloaded.tag_v2[37380] == math.inf
|
||||
elif TiffTags.SIGNED_RATIONAL:
|
||||
elif expected == TiffTags.SIGNED_RATIONAL:
|
||||
assert reloaded.tag_v2[37380] == -math.inf
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user