def METHOD_NAME(local_ds_generator, deeplake_read_images):
    "Extend a dataset with a list of color first, gray second."
    ds = local_ds_generator()
    imgtype, gray, color = deeplake_read_images
    with pytest.warns(UserWarning, match=WARNING_STR):
        make_tensor_and_extend(ds, "image", imgtype, [color, gray])
    assert len(ds.images) == 2
    assert ds.images._sample_shape_tensor.shape == (2, 3)
    for i in range(2):
        assert ds.images[i].numpy().shape == ds.images[i].shape
    assert ds.images.meta.min_shape[-1] == 1
    assert ds.images.meta.max_shape[-1] == 3