diff --git a/tests/test_cli_compile.py b/tests/test_cli_compile.py index ada86399..4c4b2fbb 100644 --- a/tests/test_cli_compile.py +++ b/tests/test_cli_compile.py @@ -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"