aboutsummaryrefslogtreecommitdiffstats
path: root/testing/parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/parser.py')
-rw-r--r--testing/parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/parser.py b/testing/parser.py
index 16b3362c8..e22f94fda 100644
--- a/testing/parser.py
+++ b/testing/parser.py
@@ -145,9 +145,9 @@ def _parse_tests(test_log):
if idx + 1 != item.idx:
# The numbering is disrupted. Provoke an error in this line!
passed = False
- code += ", but lines are disrupted!"
+ code = f"{code}, but lines are disrupted!"
result[idx] = item._replace(passed=False,
- code=item.code + ", but lines are disrupted!",
+ code=f"{item.code}, but lines are disrupted!",
fatal=True)
break
return result