Skip to content

Commit

Permalink
Add debug info to multiimage test
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Feb 23, 2015
1 parent c684680 commit 94ccba0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skimage/io/tests/test_multi_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ def test_len(self):
assert len(self.imgs[2]) == len(self.imgs[3]) == 24
assert len(self.imgs[4]) == 2
assert len(self.imgs[5]) == 24
assert len(self.imgs[6]) == 26
assert len(self.imgs[6]) == 26, len(self.images[6])

def test_slicing(self):
img = self.imgs[-1]
assert type(img[:]) is ImageCollection
assert len(img[:]) == 26
assert len(img[:]) == 26, len(img[:])
assert len(img[:1]) == 1
assert len(img[1:]) == 25
assert_allclose(img[0], img[:1][0])
Expand Down

0 comments on commit 94ccba0

Please sign in to comment.