Permalink
Browse files

bpo-12383: Also ignore __PYVENV_LAUNCHER__ (#3278)

Used in macOS framework builds.
  • Loading branch information...
ned-deily committed Sep 4, 2017
1 parent 4f01388 commit 918edc0edb356d0561062c1dc267b1d68a684b70
Showing with 1 addition and 0 deletions.
  1. +1 −0 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

0 comments on commit 918edc0

Please sign in to comment.