Skip to content

Commit 5433532

Browse files
committed
test warning
1 parent b3f34df commit 5433532

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_spy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import tempfile
22
from pathlib import Path
33

4-
import imageio
4+
import imageio.v2 as iio
55
import numpy
66
import pytest
77
from scipy import sparse
@@ -32,7 +32,7 @@ def test_png(ref, kwargs):
3232
with tempfile.TemporaryDirectory() as temp_dir:
3333
filepath = Path(temp_dir) / "test.png"
3434
matplotx.spy(M, filename=filepath, **kwargs)
35-
im = imageio.imread(filepath)
35+
im = iio.imread(filepath)
3636
y = numpy.random.randint(0, 100, size=numpy.prod(im.shape))
3737
assert numpy.dot(y, im.flatten()) == ref
3838

0 commit comments

Comments
 (0)