def test_wheel_scraper_prefer_source(self):
        locator = util.BetterScrapingLocator('localhost')
        locator.prefer_wheel = False
        self.assertTrue(locator.score_url('http://localhost/mypkg-1.1.whl') <
                        locator.score_url('http://localhost/mypkg-1.1.tar.gz'))
Wheel scraper can be marked to prefer source dists
dataset/ETHPy150Open mathcamp/pypicloud/tests/test_util.py/TestScrapers.test_wheel_scraper_prefer_source