From 21eece4c6d956d735e9d652e76eb52c5a23cd4db Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 8 Aug 2022 17:50:59 +0530 Subject: [PATCH] Ensure no bytecode is written when running shell based tests --- kitty_tests/shell_integration.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kitty_tests/shell_integration.py b/kitty_tests/shell_integration.py index b0c803aa8..9d758e3e9 100644 --- a/kitty_tests/shell_integration.py +++ b/kitty_tests/shell_integration.py @@ -40,6 +40,7 @@ def basic_shell_env(home_dir): 'KITTY_SHELL_INTEGRATION': 'enabled', 'KITTY_INSTALLATION_DIR': kitty_base_dir, 'BASH_SILENCE_DEPRECATION_WARNING': '1', + 'PYTHONDONTWRITEBYTECODE': '1', } for x in ('USER', 'LANG'): if os.environ.get(x):