Skip to content

Commit 7155dec

Browse files
committed
Add os in detect requires environment script
1 parent e9aa81b commit 7155dec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/support/script_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def interpreter_requires_environment():
4444
# Try running an interpreter with -E to see if it works or not.
4545
try:
4646
subprocess.check_call([sys.executable, '-E',
47-
'-c', 'import sys; sys.exit(0)'])
47+
'-c', 'import os, sys; sys.exit(0)'])
4848
except subprocess.CalledProcessError:
4949
__cached_interp_requires_environment = True
5050
else:

0 commit comments

Comments
 (0)