From: Daniel P. Berrangé Date: Fri, 29 Aug 2025 14:26:15 +0000 (+0100) Subject: tests/functional: fix formatting of exception args X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=124ab930ba38c41a86533dbfabb7a3b3b270ef98;p=thirdparty%2Fqemu.git tests/functional: fix formatting of exception args The catch-all exception handler forgot the placeholder for the exception details. Signed-off-by: Daniel P. Berrangé Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson Message-ID: <20250829142616.2633254-3-berrange@redhat.com> Signed-off-by: Thomas Huth --- diff --git a/tests/functional/qemu_test/asset.py b/tests/functional/qemu_test/asset.py index b5a6136d365..5c74adf2241 100644 --- a/tests/functional/qemu_test/asset.py +++ b/tests/functional/qemu_test/asset.py @@ -173,7 +173,7 @@ class Asset: continue except Exception as e: tmp_cache_file.unlink() - raise AssetError(self, "Unable to download: " % e) + raise AssetError(self, "Unable to download: %s" % e) if not os.path.exists(tmp_cache_file): raise AssetError(self, "Download retries exceeded", transient=True)