From 3b8b3fc8943b95688b38cf3f3b01a2979d7556a8 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 3 Dec 2020 14:16:54 +0100 Subject: Backport f-string --- tests/end2end/fixtures/testprocess.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/end2end/fixtures/testprocess.py b/tests/end2end/fixtures/testprocess.py index 85778c3e0..dd20c38f5 100644 --- a/tests/end2end/fixtures/testprocess.py +++ b/tests/end2end/fixtures/testprocess.py @@ -320,8 +320,8 @@ class Process(QObject): ok = self.proc.waitForFinished(5000) if not ok: cmdline = ' '.join([self.proc.program()] + self.proc.arguments()) - warnings.warn(f"Test process {cmdline} with PID {self.proc.processId()} " - "failed to terminate!") + warnings.warn("Test process {} with PID {} failed to terminate!" + .format(cmdline, self.proc.processId())) self.proc.kill() self.proc.waitForFinished() -- cgit v1.2.3-54-g00ecf