def METHOD_NAME(self):
    """Import|Load Image failure"""
    tarball = io.BytesIO("This is a corrupt tarball".encode("utf-8"))
    with self.assertRaises(errors.APIError):
        self.docker.images.load(tarball)