From 7720527c95c2d22b8b3aa1b552b6303aef262e6a Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Sun, 12 Jul 2015 15:17:58 -0500 Subject: [PATCH] Fix imsave test --- skimage/io/tests/test_pil.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/skimage/io/tests/test_pil.py b/skimage/io/tests/test_pil.py index 935dc6a7..fc20edee 100644 --- a/skimage/io/tests/test_pil.py +++ b/skimage/io/tests/test_pil.py @@ -166,6 +166,8 @@ def test_imsave_filelike(): # read from file-like object s.seek(0) + im = Image.open(s) + out = pil_to_ndarray(im) out = imread(s) assert out.shape == shape assert_allclose(out, image)