Skip to content

Commit 918edc0

Browse files
authored
bpo-12383: Also ignore __PYVENV_LAUNCHER__ (#3278)
Used in macOS framework builds.
1 parent 4f01388 commit 918edc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_subprocess.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,7 @@ def is_env_var_to_ignore(n):
651651
# on adding even when the environment in exec is empty.
652652
# Gentoo sandboxes also force LD_PRELOAD and SANDBOX_* to exist.
653653
return ('VERSIONER' in n or '__CF' in n or # MacOS
654+
'__PYVENV_LAUNCHER__' in n or # MacOS framework build
654655
n == 'LD_PRELOAD' or n.startswith('SANDBOX') or # Gentoo
655656
n == 'LC_CTYPE') # Locale coercion triggered
656657

0 commit comments

Comments
 (0)