summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2017-09-04 04:00:21 (GMT)
committerGitHub <noreply@github.com>2017-09-04 04:00:21 (GMT)
commit918edc0edb356d0561062c1dc267b1d68a684b70 (patch)
tree923af11475c820b1d4ae22f1f72efac45ca42998 /Lib
parent4f013881cb0ca7d29620ddb0594dde09bc5d24ca (diff)
downloadcpython-918edc0edb356d0561062c1dc267b1d68a684b70.zip
cpython-918edc0edb356d0561062c1dc267b1d68a684b70.tar.gz
cpython-918edc0edb356d0561062c1dc267b1d68a684b70.tar.bz2
bpo-12383: Also ignore __PYVENV_LAUNCHER__ (#3278)
Used in macOS framework builds.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_subprocess.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py
index 7d0708d..a0d3dcd 100644
--- a/Lib/test/test_subprocess.py
+++ b/Lib/test/test_subprocess.py
@@ -651,6 +651,7 @@ class ProcessTestCase(BaseTestCase):
# 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