Added test for typeerror test for gpsexif

This commit is contained in:
wiredfool 2015-09-10 05:21:21 -07:00
parent 587698051f
commit 07d95c3861
2 changed files with 5 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

View File

@ -168,6 +168,11 @@ class TestFileJpeg(PillowTestCase):
def test_exif_typeerror(self):
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
im._getexif()