From 23cf8c19f7dd24810dee559a957ff116dac68739 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Tue, 17 Sep 2024 18:32:40 +0200 Subject: [PATCH] linux: integration-test: drop f-string without placeholder --- src/linux/integration-test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/linux/integration-test.py b/src/linux/integration-test.py index ceded12..1adb31b 100755 --- a/src/linux/integration-test.py +++ b/src/linux/integration-test.py @@ -1159,7 +1159,7 @@ class Tests(dbusmock.DBusTestCase): def start_daemon(charge_threshold_value=None): upower_history_dir_override = tempfile.mkdtemp(prefix='upower-history-') if charge_threshold_value is not None: - with open(os.path.join(upower_history_dir_override, f"charging-threshold-status") , 'w') as fp: + with open(os.path.join(upower_history_dir_override, "charging-threshold-status") , 'w') as fp: fp.write(charge_threshold_value) self.start_daemon(history_dir_override=upower_history_dir_override) @@ -1235,7 +1235,7 @@ class Tests(dbusmock.DBusTestCase): def start_daemon(charge_threshold_value=None): upower_history_dir_override = tempfile.mkdtemp(prefix='upower-history-') if charge_threshold_value is not None: - with open(os.path.join(upower_history_dir_override, f"charging-threshold-status") , 'w') as fp: + with open(os.path.join(upower_history_dir_override, "charging-threshold-status") , 'w') as fp: fp.write(charge_threshold_value) self.start_daemon(history_dir_override=upower_history_dir_override)