

def test_find_wheel_supported(self, data, monkeypatch):
    '\n        Test finding supported wheel.\n        '
    monkeypatch.setattr(pip.pep425tags, 'supported_tags', [('py2', 'none', 'any')])
    req = InstallRequirement.from_line('simple.dist')
    finder = PackageFinder([data.find_links], [], session=PipSession())
    found = data.find_requirement(req, True)
    assert found.url.endswith('simple.dist-0.1-py2.py3-none-any.whl'), found

dataset/ETHPy150Open pypa/pip/tests/unit/test_finder.py TestWheel.test_find_wheel_supported/VarMisuse@68/110 `finder`->`data`