From 2e7f14d2d08fcf58e68a239787b69aec7f3ab6e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Sun, 3 Nov 2013 19:14:58 +0100 Subject: [PATCH] Fix multi image doctest --- skimage/io/collection.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/skimage/io/collection.py b/skimage/io/collection.py index 175d3b34..5708983a 100644 --- a/skimage/io/collection.py +++ b/skimage/io/collection.py @@ -96,18 +96,14 @@ class MultiImage(object): -------- >>> from skimage import data_dir - >>> img = MultiImage(data_dir + '/multipage.tif') - >>> len(img) + >>> img = MultiImage(data_dir + '/multipage.tif') # doctest: +SKIP + >>> len(img) # doctest: +SKIP 2 - >>> for frame in img: - ... print(frame.shape) + >>> for frame in img: # doctest: +SKIP + ... print(frame.shape) # doctest: +SKIP (15, 10) (15, 10) - The two frames in this image can be shown with matplotlib: - - .. plot:: show_collection.py - """ def __init__(self, filename, conserve_memory=True, dtype=None): """Load a multi-img."""