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):