Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
huxuan committed Apr 19, 2024
1 parent 3cb9884 commit d60b05d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_upgrade_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ def test_upgrade_all_legacy_venv(pipx_temp_env, capsys, caplog, metadata_version
if metadata_version is None:
capsys.readouterr()
assert run_pipx_cli(["upgrade-all"])
assert "Error encountered when upgrading pycowsay" in caplog.text
assert "The following package(s) failed to upgrade: pycowsay" in caplog.text
else:
assert not run_pipx_cli(["upgrade-all"])

0 comments on commit d60b05d

Please sign in to comment.