mirror of https://github.com/pypa/pip
Merge pull request #3288 from xavfernandez/fix_test_sort_locations_file_not_find_link
Fix test_sort_locations_file_not_find_link test
This commit is contained in:
commit
664da05f3b
|
@ -23,7 +23,7 @@ def test_sort_locations_file_not_find_link(data):
|
|||
run
|
||||
"""
|
||||
finder = PackageFinder([], [], session=PipSession())
|
||||
files, urls = finder._sort_locations(data.index_url("empty_with_pkg"))
|
||||
files, urls = finder._sort_locations([data.index_url("empty_with_pkg")])
|
||||
assert urls and not files, "urls, but not files should have been found"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue