Skip to content

Commit

Permalink
Corrected check for libtiff feature
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Apr 13, 2024
1 parent 585c019 commit e87f09b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/test_tiff_ifdrational.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ def test_nonetype() -> None:


def test_ifd_rational_save(tmp_path: Path) -> None:
methods = [True]
methods = [False]
if features.check("libtiff"):
methods.append(False)
methods.append(True)

for libtiff in methods:
TiffImagePlugin.WRITE_LIBTIFF = libtiff
Expand Down

0 comments on commit e87f09b

Please sign in to comment.