clarify comment

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
luphord 2020-07-25 07:09:00 +02:00 committed by Andrew Murray
parent ae5e0218e9
commit 4bb35c57dd

View File

@ -243,8 +243,9 @@ class TestFileJpeg:
assert exif[gps_index] == expected_exif_gps assert exif[gps_index] == expected_exif_gps
def test_exif_equality(self): def test_exif_equality(self):
# in 7.2.0 Exif rationals are read as TiffImagePlugin.IFDRational # In 7.2.0, Exif rationals were changed to be read as
# which broke self-equality of Exif data # TiffImagePlugin.IFDRational. This class had a bug in __eq__,
# breaking the self-equality of Exif data
exifs = [] exifs = []
for i in range(2): for i in range(2):
with Image.open("Tests/images/exif-200dpcm.jpg") as im: with Image.open("Tests/images/exif-200dpcm.jpg") as im: