mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-18 12:30:14 +08:00
Fix dtype bug in color tests for python 3
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user