

def test_not_find_wheel_not_supported(self, data, monkeypatch):
    '\n        Test not finding an unsupported wheel.\n        '
    monkeypatch.setattr(pip.pep425tags, 'supported_tags', [('py1', 'none', 'any')])
    req = InstallRequirement.from_line('simple.dist')
    finder = PackageFinder([self.find_links], [], session=PipSession())
    with pytest.raises(DistributionNotFound):
        finder.find_requirement(req, True)

dataset/ETHPy150Open pypa/pip/tests/unit/test_finder.py TestWheel.test_not_find_wheel_not_supported/VarMisuse@51/96 `data`->`self`