Skip to content

Commit

Permalink
Remove unnecessary import
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Sep 4, 2015
1 parent d6490a9 commit 8c9b1bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skimage/io/tests/test_imageio.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

from skimage import data_dir
from skimage.io import imread, imsave, use_plugin, reset_plugins
import skimage.io as sio

try:
import imageio as _imageio
Expand Down Expand Up @@ -48,11 +47,12 @@ def test_imageio_palette():
@skipif(not imageio_available)
def test_imageio_truncated_jpg():
assert_raises((RuntimeError, ValueError),
sio.imread,
imread,
os.path.join(data_dir, 'truncated.jpg'))


class TestSave:

def roundtrip(self, x, scaling=1):
f = NamedTemporaryFile(suffix='.png')
fname = f.name
Expand Down

0 comments on commit 8c9b1bf

Please sign in to comment.