Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Apr 10, 2023
1 parent 4861192 commit d6fea58
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_pip.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,10 @@ def test_pip_upgrade_vcs_url(virtualenv_python, tmp_path, capfd):
]
assert "Uninstalling dependencies to update" not in capfd.readouterr().err
# reinstall, no change but different @url syntax
constraints.write_text("--no-index\ntoml@git+https://github.com/uiri/[email protected]")
constraints.write_text(
"--no-index\n"
"toml@git+https://github.com/uiri/toml@4935f616ef78c35a968b2473e806d7049eba9af1"
)
pip_upgrade_project(virtualenv_python, constraints, project_root=tmp_path)
assert list(_freeze_filter(pip_freeze(virtualenv_python))) == [
"toml @ git+https://github.com/uiri/toml"
Expand Down

0 comments on commit d6fea58

Please sign in to comment.