From 9afd0309fcfb0957cf5ba960d1f21ed877b3699a Mon Sep 17 00:00:00 2001 From: James McCoy Date: Wed, 21 Dec 2022 22:21:48 -0500 Subject: [PATCH] tests: Use tempdir for XDG_RUNTIME_DIR --- kitty_tests/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kitty_tests/main.py b/kitty_tests/main.py index 0cba7072a..022ea4d2f 100644 --- a/kitty_tests/main.py +++ b/kitty_tests/main.py @@ -255,6 +255,7 @@ def env_for_python_tests(report_env: bool = False) -> Iterator[None]: XDG_CONFIG_DIRS=os.path.join(tdir, '.config'), XDG_DATA_DIRS=os.path.join(tdir, '.local', 'xdg'), XDG_CACHE_HOME=os.path.join(tdir, '.cache'), + XDG_RUNTIME_DIR=os.path.join(tdir, '.cache', 'run'), PYTHONWARNINGS='error', ): if os.path.isdir(gohome):