Skip to content

Commit

Permalink
Skip test failing with older Pillow
Browse files Browse the repository at this point in the history
  • Loading branch information
saimn committed Feb 23, 2021
1 parent d29d127 commit 130d43e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_image.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import os
from unittest.mock import patch

import PIL
import pytest
from packaging.version import Version
from PIL import Image as PILImage

from sigal import init_logging
Expand Down Expand Up @@ -253,6 +255,8 @@ def test_exif_copy(tmpdir):
assert not simple


@pytest.mark.skipif(Version(PIL.__version__) < Version('8.0'),
reason='fails with Pillow < 8.0')
def test_exif_gps(tmpdir):
"""Test reading out correct geo tags"""

Expand Down

0 comments on commit 130d43e

Please sign in to comment.