diff --git a/util/remaining-gnu-error.py b/util/remaining-gnu-error.py index 79f1ae790..5be7e784c 100755 --- a/util/remaining-gnu-error.py +++ b/util/remaining-gnu-error.py @@ -30,7 +30,7 @@ for d in data: for e in data[d]: # Not all the tests are .sh files, rename them if not. script = e.replace(".log", ".sh") - a = "%s%s/%s" % (base, d, script) + a = f"{base}{d}{script}" if not os.path.exists(a): a = a.replace(".sh", ".pl") if not os.path.exists(a):