From 4f76c52143de2b849d32548a400a8025c80a1d58 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Sun, 3 Sep 2017 17:57:38 -0700 Subject: [PATCH] bpo-12383: Also ignore __PYVENV_LAUNCHER__ Used in macOS framework builds. --- Lib/test/test_subprocess.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index 7d0708d5f7fe64a..a0d3dcd069a97f3 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -651,6 +651,7 @@ def is_env_var_to_ignore(n): # on adding even when the environment in exec is empty. # Gentoo sandboxes also force LD_PRELOAD and SANDBOX_* to exist. return ('VERSIONER' in n or '__CF' in n or # MacOS + '__PYVENV_LAUNCHER__' in n or # MacOS framework build n == 'LD_PRELOAD' or n.startswith('SANDBOX') or # Gentoo n == 'LC_CTYPE') # Locale coercion triggered