

def test_wheel_over_sdist_priority(self, data):
    '\n        Test wheels have priority over sdists.\n        `test_link_sorting` also covers this at lower level\n        '
    req = InstallRequirement.from_line('priority')
    finder = PackageFinder([data.find_links], [], session=PipSession())
    found = finder.find_requirement(req, True)
    assert found.url.endswith('priority-1.0-py2.py3-none-any.whl'), data

dataset/ETHPy150Open pypa/pip/tests/unit/test_finder.py TestWheel.test_wheel_over_sdist_priority/VarMisuse@64/143 `found`->`data`