Fix the test to check for canonical name
@@ -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):
