def METHOD_NAME(venv_path, environment):
    pjoin = os.path.join
    if os.name == 'nt':
        if environment.version_info < (3, 11):
            site_pkg_path = pjoin(venv_path, 'lib', 'site-packages')
        else:
            site_pkg_path = pjoin(venv_path, 'Lib', 'site-packages')
    else:
        site_pkg_path = glob(pjoin(venv_path, 'lib', 'python*', 'site-packages'))[0]
    shutil.rmtree(site_pkg_path)
    shutil.copytree(get_example_dir('sample_venvs', 'pth_directory'), site_pkg_path)
    virtualenv = create_environment(venv_path)
    venv_paths = virtualenv.get_sys_path()
    ETALON = [
        # For now disable egg-links. I have no idea how they work... ~ dave
        #pjoin('/path', 'from', 'egg-link'),
        #pjoin(site_pkg_path, '.', 'relative', 'egg-link', 'path'),
        site_pkg_path,
        pjoin(site_pkg_path, 'dir-from-foo-pth'),
        '/foo/smth.py:module',
        # Not sure why it's added twice. It has to do with site.py which is not
        # something we can change. However this obviously also doesn't matter.
        '/foo/smth.py:from_func',
        '/foo/smth.py:from_func',
    ]
    # Ensure that pth and egg-link paths were added.
    assert venv_paths[-len(ETALON):] == ETALON
    # Ensure that none of venv dirs leaked to the interpreter.
    assert not set(sys.path).intersection(ETALON)