[tests] use f-strings (##7671)

This commit is contained in:
Mike Fährmann
2025-08-14 10:22:42 +02:00
parent a87c447af2
commit b9429de774
10 changed files with 117 additions and 111 deletions

View File

@@ -229,7 +229,7 @@ class TestConfigFiles(unittest.TestCase):
with open(path) as fp:
return util.json_loads(fp.read())
except FileNotFoundError:
raise unittest.SkipTest(path + " not available")
raise unittest.SkipTest(f"{path} not available")
if __name__ == "__main__":