def METHOD_NAME(fname, exp_shape):
    """test_decode_dicom_image"""
    dcm_path = os.path.join(
        os.path.dirname(os.path.abspath(__file__)), "test_dicom", fname
    )
    file_contents = tf.io.read_file(filename=dcm_path)
    dcm_image = tfio.image.decode_dicom_image(
        contents=file_contents,
        dtype=tf.float32,
        on_error="strict",
        scale="auto",
        color_dim=True,
    )
    assert dcm_image.numpy().shape == exp_shape