summaryrefslogtreecommitdiff
path: root/tests/end2end/fixtures/testprocess.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/end2end/fixtures/testprocess.py')
-rw-r--r--tests/end2end/fixtures/testprocess.py4
1 files 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()