summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-12-16 20:48:35 (GMT)
committerGitHub <noreply@github.com>2021-12-16 20:48:35 (GMT)
commit109d96602199a91e94eb14b8cb3720841f22ded7 (patch)
tree44d76b7d8a6605fe150147810e064e2f195d82ab /Lib/test/test_importlib
parentecdc0ccede5f9ac4042ff56f295d81df2f428950 (diff)
downloadcpython-109d96602199a91e94eb14b8cb3720841f22ded7.zip
cpython-109d96602199a91e94eb14b8cb3720841f22ded7.tar.gz
cpython-109d96602199a91e94eb14b8cb3720841f22ded7.tar.bz2
bpo-46105: Honor spec when generating requirement specs with urls and extras. (GH-30151)
Diffstat (limited to 'Lib/test/test_importlib')
-rw-r--r--Lib/test/test_importlib/test_metadata_api.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_importlib/test_metadata_api.py b/Lib/test/test_importlib/test_metadata_api.py
index dc9c234..4a45312 100644
--- a/Lib/test/test_importlib/test_metadata_api.py
+++ b/Lib/test/test_importlib/test_metadata_api.py
@@ -235,6 +235,7 @@ class APITests(
[extra1]
dep4
+ dep6@ git+https://example.com/python/dep.git@v1.0.0
[extra2:python_version < "3"]
dep5
@@ -247,6 +248,7 @@ class APITests(
'dep3; python_version < "3"',
'dep4; extra == "extra1"',
'dep5; (python_version < "3") and extra == "extra2"',
+ 'dep6@ git+https://example.com/python/dep.git@v1.0.0 ; extra == "extra1"',
]
# It's important that the environment marker expression be
# wrapped in parentheses to avoid the following 'and' binding more