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

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 .