mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-08 02:41:18 +08:00
Fix imsave test
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user