From 72f0c7b8732dfada7a3dc87f14d79cdbc358dc19 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Wed, 16 Aug 2017 20:57:10 +1000 Subject: [PATCH] Updated tests --- Tests/test_file_fli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/test_file_fli.py b/Tests/test_file_fli.py index a5be63f77..0da197155 100644 --- a/Tests/test_file_fli.py +++ b/Tests/test_file_fli.py @@ -29,7 +29,7 @@ class TestFileFli(PillowTestCase): def test_tell(self): # Arrange - im = Image.open(test_file) + im = Image.open(static_test_file) # Act frame = im.tell() @@ -49,7 +49,7 @@ class TestFileFli(PillowTestCase): self.assertFalse(im.is_animated) im = Image.open(animated_test_file) - self.assertEqual(im.n_frames, 385) + self.assertEqual(im.n_frames, 384) self.assertTrue(im.is_animated) def test_eoferror(self): @@ -66,7 +66,7 @@ class TestFileFli(PillowTestCase): def test_seek_outside(self): # Test negative seek - im = Image.open(test_file) + im = Image.open(static_test_file) im.seek(-1) self.assertEqual(im.tell(), 0)