Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
hMatoba committed Sep 28, 2016
1 parent c4e5fdd commit 868e8d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/s_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ def test_load_fail(self):
with self.assertRaises(ValueError):
exif = piexif.load(os.path.join("tests", "images", "notjpeg.jpg"))

with self.assertRaises(ValueError):
exif = piexif.load(os.path.join("Oh", "My", "God"))

def test_load_from_pilImage_property(self):
o = io.BytesIO()
i = Image.open(INPUT_FILE1)
Expand Down

0 comments on commit 868e8d8

Please sign in to comment.