[tests] use f-strings (##7671)
This commit is contained in:
@@ -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__":
|
||||
|
||||
Reference in New Issue
Block a user