summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2012-05-28 16:01:17 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2012-05-28 16:01:17 (GMT)
commitef4c5010e45924c4c21441e372e83463e66515d5 (patch)
treedf5aa6aa53bf0b3efd2fe2495aa994a83b8f70ae
parent382a7c0180a885aabd006eea4971e5210ef43b52 (diff)
downloadcpython-ef4c5010e45924c4c21441e372e83463e66515d5.zip
cpython-ef4c5010e45924c4c21441e372e83463e66515d5.tar.gz
cpython-ef4c5010e45924c4c21441e372e83463e66515d5.tar.bz2
Fixed typo.
-rw-r--r--Lib/test/test_venv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_venv.py b/Lib/test/test_venv.py
index 50a8e93..4cbf188 100644
--- a/Lib/test/test_venv.py
+++ b/Lib/test/test_venv.py
@@ -29,7 +29,7 @@ class BaseTest(unittest.TestCase):
self.ps3name = 'pysetup3'
self.lib = ('lib', 'python%s' % sys.version[:3])
self.include = 'include'
- if sys.platform == 'darwin' and '__PYTHONV_LAUNCHER__' in env:
+ if sys.platform == 'darwin' and '__PYTHONV_LAUNCHER__' in os.environ:
executable = os.environ['__PYTHONV_LAUNCHER__']
else:
executable = sys.executable