Skip to content

Commit

Permalink
chore(ruff): no need for explicit str conversion in f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
vlaci committed Sep 21, 2023
1 parent 34e72e2 commit 66ef6f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 66ef6f2

Please sign in to comment.