diff --git a/Tests/test_file_im.py b/Tests/test_file_im.py index fcf4f52f4..19720dffb 100644 --- a/Tests/test_file_im.py +++ b/Tests/test_file_im.py @@ -15,6 +15,16 @@ class TestFileIm(PillowTestCase): self.assertEqual(im.size, (128, 128)) self.assertEqual(im.format, "IM") + def test_tell(self): + # Arrange + im = Image.open(TEST_IM) + + # Act + frame = im.tell() + + # Assert + self.assertEqual(frame, 0) + def test_n_frames(self): im = Image.open(TEST_IM) self.assertEqual(im.n_frames, 1)