From d4074d1f36f8552ff248ed4134749da7452d1541 Mon Sep 17 00:00:00 2001 From: Albert Tugushev Date: Sun, 6 Aug 2023 20:47:49 +0200 Subject: [PATCH] Use stdout as an output in test_compile_recursive_extras --- tests/test_cli_compile.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_cli_compile.py b/tests/test_cli_compile.py index ac75927ea..534894395 100644 --- a/tests/test_cli_compile.py +++ b/tests/test_cli_compile.py @@ -2947,12 +2947,14 @@ def test_compile_recursive_extras(runner, tmp_path, current_resolver): [ "--no-header", "--no-annotate", - "--no-emit-find-links", + "--no-emit-options", "--extra", "dev", "--find-links", os.fspath(MINIMAL_WHEELS_PATH), os.fspath(tmp_path / "pyproject.toml"), + "--output-file", + "-", ], ) expected = rf"""foo @ {tmp_path.as_uri()} @@ -2960,7 +2962,7 @@ def test_compile_recursive_extras(runner, tmp_path, current_resolver): small-fake-b==0.3 """ assert out.exit_code == 0 - assert expected == out.stderr + assert expected == out.stdout def test_config_option(pip_conf, runner, tmp_path, make_config_file):