File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -245,18 +245,20 @@ def test_more_complex_deps_requires_text(self):
245
245
246
246
[extra1]
247
247
dep4
248
+ dep5@ git+https://example.com/python/[email protected]
248
249
249
250
[extra2:python_version < "3"]
250
- dep5
251
+ dep6
251
252
"""
252
253
)
253
254
deps = sorted (Distribution ._deps_from_requires_text (requires ))
254
255
expected = [
255
256
'dep1' ,
256
257
'dep2' ,
257
- 'dep3; python_version < "3"' ,
258
- 'dep4; extra == "extra1"' ,
259
- 'dep5; (python_version < "3") and extra == "extra2"' ,
258
+ 'dep3 ; python_version < "3"' ,
259
+ 'dep4 ; extra == "extra1"' ,
260
+ 'dep5@ git+https://example.com/python/[email protected] ; extra == "extra1"' ,
261
+ 'dep6 ; (python_version < "3") and extra == "extra2"' ,
260
262
]
261
263
# It's important that the environment marker expression be
262
264
# wrapped in parentheses to avoid the following 'and' binding more
You can’t perform that action at this time.
0 commit comments