From 9994363aa8e1c84401cb59840b6833d492654e69 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Thu, 14 Apr 2022 15:34:52 -0700 Subject: [PATCH] Apple M1: Fix "Building and running unit tests" message For {arch} to be converted, the string needs to be an f-string. --- BuildMacOSUniversalBinary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BuildMacOSUniversalBinary.py b/BuildMacOSUniversalBinary.py index dcc96da343..5f9b45744c 100755 --- a/BuildMacOSUniversalBinary.py +++ b/BuildMacOSUniversalBinary.py @@ -337,7 +337,7 @@ def build(config): if not os.path.exists(arch): os.mkdir(arch) - print("Building and running unit tests for: {arch}") + print(f"Building and running unit tests for: {arch}") unit_test_results[arch] = \ subprocess.call(["cmake", "--build", ".", "--config", config["build_type"],