Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make message more user friendly when unable to resolve #8033

Merged
merged 3 commits into from
Apr 15, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix the test to check for canonical name
  • Loading branch information
pfmoore committed Apr 14, 2020
commit 8c118c8f3a6fd850e49256c51440142526a3d7c6
4 changes: 3 additions & 1 deletion tests/functional/test_new_resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,9 @@ def test_new_resolver_no_dist_message(script):

assert "Could not find a version that satisfies the requirement B" \
in result.stderr, str(result)
assert "No matching distribution found for B" in result.stderr, str(result)
# TODO: This reports the canonical name of the project. But the current
# resolver reports the originally specified name (i.e. uppercase B)
assert "No matching distribution found for b" in result.stderr, str(result)


def test_new_resolver_installs_editable(script):
Expand Down