Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and henryiii committed Jan 15, 2024
1 parent 596802c commit 6106cd5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def test_run_correct_traceback(capfd, pipx_temp_env, tmp_path):
script = tmp_path / "test.py"
script.write_text(
textwrap.dedent(
f"""
"""
raise RuntimeError("Should fail")
"""
).strip()
Expand All @@ -261,7 +261,6 @@ def test_run_correct_traceback(capfd, pipx_temp_env, tmp_path):
assert "test.py" in captured.err



@mock.patch("os.execvpe", new=execvpe_mock)
def test_run_with_args(caplog, pipx_temp_env, tmp_path):
script = tmp_path / "test.py"
Expand Down

0 comments on commit 6106cd5

Please sign in to comment.