mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-22 13:14:45 +03:00
test IFDRational equality
This commit is contained in:
parent
c6c1d7c11a
commit
26bd02cb04
|
@ -49,6 +49,11 @@ def test_nonetype():
|
|||
assert xres and yres
|
||||
|
||||
|
||||
def test_nan():
|
||||
# usually NaN != NaN, but this would break exif self-equality
|
||||
assert IFDRational(123, 0) == IFDRational(123, 0)
|
||||
|
||||
|
||||
def test_ifd_rational_save(tmp_path):
|
||||
methods = (True, False)
|
||||
if not features.check("libtiff"):
|
||||
|
|
Loading…
Reference in New Issue
Block a user