From 4d0e7c91ed4cf39d988060b44f2f09a697fb9273 Mon Sep 17 00:00:00 2001 From: waridh Date: Tue, 13 Aug 2024 21:47:09 -0400 Subject: [PATCH] fixed the other format string and swapped it to an f-string --- test/test_sim_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_sim_config.py b/test/test_sim_config.py index 16a1e1d..8393817 100644 --- a/test/test_sim_config.py +++ b/test/test_sim_config.py @@ -60,7 +60,7 @@ def test_root_defaults() -> None: found_port = get_simulated_config(config_path, subsys)["port"] assert ( found_port is not None - ), "Expected port for {} to exist, but found None".format(subsys.name) + ), "Expected port for {subsys.name} to exist, but found None" assert ( int(found_port) == expected_port ), "Expected to see {expected_port}, but got {found_port}"