mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 09:26:16 +03:00
Added test for typeerror test for gpsexif
This commit is contained in:
parent
587698051f
commit
07d95c3861
BIN
Tests/images/exif_gps_typeerror.jpg
Normal file
BIN
Tests/images/exif_gps_typeerror.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 51 KiB |
|
@ -168,6 +168,11 @@ class TestFileJpeg(PillowTestCase):
|
||||||
|
|
||||||
def test_exif_typeerror(self):
|
def test_exif_typeerror(self):
|
||||||
im = Image.open('Tests/images/exif_typeerror.jpg')
|
im = Image.open('Tests/images/exif_typeerror.jpg')
|
||||||
|
# Should not raise a TypeError
|
||||||
|
im._getexif()
|
||||||
|
|
||||||
|
def test_exif_gps_typeerror(self):
|
||||||
|
im = Image.open('Tests/images/exif_gps_typeerror.jpg')
|
||||||
|
|
||||||
# Should not raise a TypeError
|
# Should not raise a TypeError
|
||||||
im._getexif()
|
im._getexif()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user