Skip to content

Commit 8c118c8

Browse files
committed
Fix the test to check for canonical name
1 parent ea391b2 commit 8c118c8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/functional/test_new_resolver.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,9 @@ def test_new_resolver_no_dist_message(script):
186186

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

191193

192194
def test_new_resolver_installs_editable(script):

0 commit comments

Comments
 (0)