def attempt_symlink_to(path, to_path):
if sys.platform.startswith("<STR_LIT>") and six.PY2:<EOL><INDENT>pytest.skip("<STR_LIT>")<EOL><DEDENT>try:<EOL><INDENT>Path(path).symlink_to(Path(to_path))<EOL><DEDENT>except OSError:<EOL><INDENT>pytest.skip("<STR_LIT>")<EOL><DEDENT>
Try to make a symlink from "path" to "to_path", skipping in case this platform
    does not support it or we don't have sufficient privileges (common on Windows).