Run pyupgrade on the changes from the merge-forward

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
Pedro Algarvio 2023-07-21 20:06:53 +01:00
parent c06f94523a
commit 23e96fdc6d
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ def service_name(grains, modules):
service_name = "Spooler"
if os_family != "Windows" and salt.utils.path.which(cmd_name) is None:
pytest.skip("{} is not installed".format(cmd_name))
pytest.skip(f"{cmd_name} is not installed")
if is_systemd and modules.service.offline():
pytest.skip("systemd is OFFLINE")

View file

@ -43,7 +43,7 @@ def service_name(grains, modules):
service_name = "Spooler"
if os_family != "Windows" and salt.utils.path.which(cmd_name) is None:
pytest.skip("{} is not installed".format(cmd_name))
pytest.skip(f"{cmd_name} is not installed")
if is_systemd and modules.service.offline():
pytest.skip("systemd is OFFLINE")