From d7b063ad24cdf3ce4cb1b888aa758767d9d00994 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Vask=C3=B3?= <1771332+vlaci@users.noreply.github.com> Date: Thu, 21 Sep 2023 11:22:47 +0200 Subject: [PATCH] chore(ruff): no need for explicit str conversion in f-string --- tests/test_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index 3a845b53d4..463f356876 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -158,7 +158,7 @@ def test_non_existing_file(tmp_path: Path): result = runner.invoke(unblob.cli.cli, ["--extract-dir", str(tmp_path), str(path)]) assert result.exit_code == 2 assert "Invalid value for 'FILE'" in result.output - assert f"File '{path!s}' does not exist" in result.output + assert f"File '{path}' does not exist" in result.output def test_dir_for_file(tmp_path: Path):