def METHOD_NAME(self, path_n_bytes_image):
    path, bytes_image = path_n_bytes_image
    img = images.Img(bytes_image)
    assert isinstance(img.surface, cairocffi.ImageSurface)
    del img.surface
    assert isinstance(img.surface, cairocffi.ImageSurface)