Skip to content

Commit 309b2a1

Browse files
committed
Use --strip-extras to suppress irrelevant warning for test_all_no_emit_options
1 parent 826ba44 commit 309b2a1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/test_cli_compile.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,9 @@ def test_trusted_host_envvar(monkeypatch, pip_conf, runner):
387387
def test_all_no_emit_options(runner, options):
388388
with open("requirements.in", "w"):
389389
pass
390-
out = runner.invoke(cli, ["--output-file", "-", "--no-header", *options])
390+
out = runner.invoke(
391+
cli, ["--output-file", "-", "--no-header", "--strip-extras", *options]
392+
)
391393
assert out.stdout.strip().splitlines() == []
392394

393395

0 commit comments

Comments
 (0)