1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

tests: fix comment

Signed-off-by: William Woodruff <william@trailofbits.com>
This commit is contained in:
William Woodruff 2022-12-02 21:38:51 -08:00
parent 464d16618e
commit d9502ff501
No known key found for this signature in database

View file

@ -81,7 +81,8 @@ class TestLink:
assert "subdir" == Link(url).subdirectory_fragment
# Extras are supported and preserved in the egg fragment,
# even the empty extras specifier (since PEP 508 allows it).
# even the empty extras specifier.
# This behavior is deprecated and will change in pip 25.
url = "git+https://example.com/package#egg=eggname[extra]"
assert "eggname[extra]" == Link(url).egg_fragment
assert None is Link(url).subdirectory_fragment