From 80d4e813f970864e473ead71258892c5a748345f Mon Sep 17 00:00:00 2001 From: Jonathan Helmus Date: Sat, 11 Jul 2015 14:48:12 -0500 Subject: [PATCH] TST: Use smaller gif file in test_pil tests --- skimage/io/tests/test_pil.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/skimage/io/tests/test_pil.py b/skimage/io/tests/test_pil.py index e8e855d8..cc00e19e 100644 --- a/skimage/io/tests/test_pil.py +++ b/skimage/io/tests/test_pil.py @@ -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)