def METHOD_NAME(tmp_path, caplog):
    with caplog.at_level(logging.WARNING):
        with (tmp_path / "project.yml").open("w") as fh:
            fh.write(
                """
    name: testproject
    downloadpath: libs
    pip:
        index_urls:
            - https://pypi.org/simple
    """
            )
        Project(tmp_path, autostd=False)
    assert_no_warning(caplog)