diff --git a/aidge_core/unit_tests/test_export.py b/aidge_core/unit_tests/test_export.py index 6a78e912d6e87ff569bcb060d542803c66a737ef..74fbba50ebedfd778f850ec0363adde7dbfe5e29 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