Fix dtype bug in color tests for python 3

This commit is contained in:
Johannes Schönberger
2013-04-28 11:29:45 +02:00
parent 529d46a67b
commit 5f06652648
+1 -1
View File
@@ -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