diff --git a/pipenv/core.py b/pipenv/core.py index 86c9c027..4f2ba2db 100644 --- a/pipenv/core.py +++ b/pipenv/core.py @@ -2642,7 +2642,7 @@ def do_check( raise exceptions.JSONParseError(c.stdout, c.stderr) except Exception: raise exceptions.PipenvCmdError(cmd_list_to_shell(c.args), c.stdout, c.stderr, c.returncode) - for (package, resolved, installed, description, vuln) in results: + for (package, resolved, installed, description, vuln, *_) in results: click.echo( "{}: {} {} resolved ({} installed)!".format( crayons.normal(vuln, bold=True), diff --git a/tests/integration/test_cli.py b/tests/integration/test_cli.py index ea3b75ff..7c3afd34 100644 --- a/tests/integration/test_cli.py +++ b/tests/integration/test_cli.py @@ -142,7 +142,8 @@ def test_pipenv_graph_reverse(PipenvInstance): @flaky def test_pipenv_check(PipenvInstance): with PipenvInstance() as p: - p.pipenv('install requests==1.0.0') + c = p.pipenv('install requests==1.0.0') + assert c.returncode == 0 c = p.pipenv('check') assert c.returncode != 0 assert 'requests' in c.stdout