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)