def METHOD_NAME(testing_workdir, testing_metadata, capfd):
    testing_metadata.meta["requirements"] = {"host": ["python"], "run": ["python"]}
    api.output_yaml(testing_metadata, "meta.yaml")
    # build the other major thing, whatever it is
    if sys.version_info.major == 3:
        version = "2.7"
    else:
        version = "3.5"
    api.output_yaml(testing_metadata, "meta.yaml")
    metadata = api.render(testing_workdir, python=version)[0][0]
    args = ["--output", testing_workdir, "--python", version]
    main_render.execute(args)
    _hash = metadata.hash_dependencies()
    test_path = (
        "test_render_output_build_path_set_python-1.0-py{}{}{}_1.tar.bz2".format(
            version.split(".")[0], version.split(".")[1], _hash
        )
    )
    output, error = capfd.readouterr()
    assert os.path.basename(output.rstrip()) == test_path, error