We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9aa81b commit 7155decCopy full SHA for 7155dec
Lib/test/support/script_helper.py
@@ -44,7 +44,7 @@ def interpreter_requires_environment():
44
# Try running an interpreter with -E to see if it works or not.
45
try:
46
subprocess.check_call([sys.executable, '-E',
47
- '-c', 'import sys; sys.exit(0)'])
+ '-c', 'import os, sys; sys.exit(0)'])
48
except subprocess.CalledProcessError:
49
__cached_interp_requires_environment = True
50
else:
0 commit comments