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] committed Dec 29, 2023
1 parent b733524 commit 815505a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_cli_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3563,13 +3563,13 @@ def test_origin_of_extra_requirement_not_written_to_annotations(
== out.stdout
)


@mock.patch("piptools.scripts.compile.parse_requirements")
def test_stdout_should_not_be_read_when_stdin_is_not_a_plain_file(
parse_req,
runner,
tmp_path,
):

parse_req,
runner,
tmp_path,
):
parse_req.side_effect = AssertionError("Must not be called when output is a fifo")

req_in = tmp_path / "requirements.txt"
Expand Down

0 comments on commit 815505a

Please sign in to comment.