def METHOD_NAME(self):
    pydicom.config.pixel_data_handlers = [pillow_handler]
    msg = (
        r"Unable to decode pixel data with a transfer syntax UID of "
        r"'1.2.840.10008.1.2.4.80' \(JPEG-LS Lossless Image Compression\) "
        r"as there are no pixel data handlers available."
    )
    with pytest.raises(NotImplementedError, match=msg):
        self.emri_jpeg_ls_lossless.pixel_array