def test_finder_installs_dev_releases(data):

    req = InstallRequirement.from_line("bar", None)

    # using a local index (that has dev releases)
    finder = PackageFinder(
        [], [data.index_url("dev")],
        allow_all_prereleases=True,
        session=PipSession(),
    )
    link = finder.find_requirement(req, False)
    assert link.url.endswith("bar-2.0.dev1.tar.gz"), link.url
Walks a directory tree, returning all the files. Follows symlinks.
dataset/ETHPy150Open pypa/pip/tests/unit/test_finder.py/test_finder_installs_dev_releases--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/tools/appcfg.py/FileIterator