summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-12-03 14:16:54 +0100
committerFlorian Bruhin <me@the-compiler.org>2020-12-03 14:17:10 +0100
commit3b8b3fc8943b95688b38cf3f3b01a2979d7556a8 (patch)
tree0fdd0f69cb0cfb21a87259afac41eb698c5c1c6a
parent11e0295c9cb9a062441b9f0a8e68163c9a693f99 (diff)
downloadqutebrowser-3b8b3fc8943b95688b38cf3f3b01a2979d7556a8.tar.gz
qutebrowser-3b8b3fc8943b95688b38cf3f3b01a2979d7556a8.zip
Backport f-string
-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()