diff --git a/docs/test_codeblocks_manifest.py b/docs/test_codeblocks_manifest.py index 100eeb1b..e36fe5b6 100644 --- a/docs/test_codeblocks_manifest.py +++ b/docs/test_codeblocks_manifest.py @@ -383,6 +383,9 @@ def run_snippets(snippet_ids: tuple[str, ...]) -> None: "ABXPKG_LIB_DIR": str(temp_dir / "system-lib"), }, ) + system_lib_dir = Path(snippet_env["ABXPKG_LIB_DIR"]) + system_lib_dir.mkdir(exist_ok=True) + system_lib_dir.chmod(0o777) snippet_env["PATH"] = os.pathsep.join( [ str(system_home / ".local" / "bin"),