def test_no_mpkg(data):
    finder = PackageFinder([data.find_links], [], session=PipSession())
    req = InstallRequirement.from_line("pkgwithmpkg")
    found = finder.find_requirement(req, False)

    assert found.url.endswith("pkgwithmpkg-1.0.tar.gz"), found
Finder skips zipfiles with "macosx10" in the name.
dataset/ETHPy150Open pypa/pip/tests/unit/test_finder.py/test_no_mpkg