From 5f0665264876764f52dd75341795c96446cb8e79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Sun, 28 Apr 2013 11:29:45 +0200 Subject: [PATCH] Fix dtype bug in color tests for python 3 --- skimage/color/tests/test_colorconv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/color/tests/test_colorconv.py b/skimage/color/tests/test_colorconv.py index 3365bb1c..7f1d7c73 100644 --- a/skimage/color/tests/test_colorconv.py +++ b/skimage/color/tests/test_colorconv.py @@ -126,7 +126,7 @@ class TestColorconv(TestCase): # RGB<->HED roundtrip with ubyte image def test_hed_rgb_roundtrip(self): - img_rgb = self.img_rgb + img_rgb = img_as_ubyte(self.img_rgb) assert_equal(img_as_ubyte(hed2rgb(rgb2hed(img_rgb))), img_rgb) # RGB<->HED roundtrip with float image