diff --git a/Tests/test_numpy.py b/Tests/test_numpy.py index 377595751..61b3cf480 100644 --- a/Tests/test_numpy.py +++ b/Tests/test_numpy.py @@ -78,7 +78,7 @@ def test_16bit(): img = Image.open('Tests/images/12bit.cropped.tif') np_img = numpy.array(img) _test_img_equals_nparray(img, np_img) - assert_equal(np_img.dtype, numpy.dtype('uint16')) + assert_equal(np_img.dtype, numpy.dtype('u2'), - ("I;16L", 'uint16'), + ("I;16L", '