From 6717ba40ae9ad4c6e345ab97db8a160f62c368d5 Mon Sep 17 00:00:00 2001 From: Cyril Moineau <cyril.moineau@cea.fr> Date: Mon, 15 Jul 2024 13:24:20 +0000 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) Co-authored-by: Cyril Moineau <cyril.moineau@cea.fr> --- aidge_core/unit_tests/test_export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aidge_core/unit_tests/test_export.py b/aidge_core/unit_tests/test_export.py index 6a78e912d..74fbba50e 100644 --- a/aidge_core/unit_tests/test_export.py +++ b/aidge_core/unit_tests/test_export.py @@ -109,7 +109,7 @@ def clean_dir(dir: pathlib.Path) -> None: elif os.path.isdir(file_path): shutil.rmtree(file_path) except Exception as e: - print("Failed to delete %s. Reason: %s" % (file_path, e)) + print(f"Failed to delete {file_path}. Reason: {e}") return -- GitLab