def test_not_find_wheel_not_supported(self, data, monkeypatch):
        monkeypatch.setattr(
            pip.pep425tags,
            "supported_tags",
            [('py1', 'none', 'any')],
        )

        req = InstallRequirement.from_line("simple.dist")
        finder = PackageFinder(
            [data.find_links],
            [],
            session=PipSession(),
        )

        with pytest.raises(DistributionNotFound):
            finder.find_requirement(req, True)
Test not finding an unsupported wheel.
dataset/ETHPy150Open pypa/pip/tests/unit/test_finder.py/TestWheel.test_not_find_wheel_not_supported