Skip to content

Commit

Permalink
Fix import and failing doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Jun 18, 2015
1 parent 06a710b commit 5f6fc04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion skimage/external/test_tifffile.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_imread_uint16_big_endian():


def test_extension():
from tifffile.tifffile import decodelzw
from .tifffile.tifffile import decodelzw
import types
assert isinstance(decodelzw, types.BuiltinFunctionType), type(decodelzw)

Expand Down
4 changes: 2 additions & 2 deletions skimage/external/tifffile/tifffile.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ def imsave(filename, data, **kwargs):
Examples
--------
>>> data = numpy.random.rand(2, 5, 3, 301, 219)
>>> description = u'{"shape": %s}' % str(list(data.shape))
>>> imsave('temp.tif', data, compress=6,
>>> description = u'{"shape": %s}' % str(list(data.shape)) # doctest: +SKIP
>>> imsave('temp.tif', data, compress=6, # doctest: +SKIP
... extratags=[(270, 's', 0, description, True)])
"""
Expand Down

0 comments on commit 5f6fc04

Please sign in to comment.