def test_sort_locations_non_existing_path():
    finder = PackageFinder([], [], session=PipSession())
    files, urls = finder._sort_locations(
        [os.path.join('this', 'doesnt', 'exist')])
    assert not urls and not files, "nothing should have been found"
Test that a non-existing path is ignored.
dataset/ETHPy150Open pypa/pip/tests/unit/test_index.py/test_sort_locations_non_existing_path