def METHOD_NAME(self):
    self.colormap.color_depth = "rgb"
    a = array([0, 2, 3])
    b = self.colormap.map_index(a)
    self.assertEqual(b.shape, (3,))
    self.assertEqual(b.dtype, int)
    assert_array_equal(b, array([0, 2, 3]))