--- pyproject_fmt-2.3.1/tests/test_pyproject_toml_fmt.py.orig +++ pyproject_fmt-2.3.1/tests/test_pyproject_toml_fmt.py @@ -11,5 +11,5 @@ def test_help_invocation_as_script() -> None: subprocess.check_call( - [str(Path(sys.executable).parent / "pyproject-fmt"), "--help"], + [str("pyproject-fmt"), "--help"], )