TST: Use smaller gif file in test_pil tests

This commit is contained in:
Jonathan Helmus
2015-07-11 14:48:12 -05:00
parent a47a700fe7
commit 80d4e813f9
+4 -4
View File
@@ -191,11 +191,11 @@ def test_all_mono():
def test_multi_page_gif():
img = imread(os.path.join(data_dir, 'no_time_for_that.gif'))
assert img.shape == (24, 280, 500, 3), img.shape
img2 = imread(os.path.join(data_dir, 'no_time_for_that.gif'),
img = imread(os.path.join(data_dir, 'no_time_for_that_tiny.gif'))
assert img.shape == (24, 25, 14, 3), img.shape
img2 = imread(os.path.join(data_dir, 'no_time_for_that_tiny.gif'),
img_num=5)
assert img2.shape == (280, 500, 3)
assert img2.shape == (25, 14, 3)
assert_allclose(img[5], img2)