summaryrefslogtreecommitdiffstats
path: root/test/log.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/log.py')
-rw-r--r--test/log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/log.py b/test/log.py
index b0fe037e1ba..5fd91c794e8 100644
--- a/test/log.py
+++ b/test/log.py
@@ -11,7 +11,7 @@ single_line_delim = '-' * 78
def colorize(msg, color):
- return color + msg + COLOR_RESET
+ return f"{color}{msg}{COLOR_RESET}"
class ColorFormatter(logging.Formatter):