[Python-checkins] cpython: Fixed typo.

vinay.sajip python-checkins at python.org
Mon May 28 18:01:39 CEST 2012


http://hg.python.org/cpython/rev/f4a7e738ad24
changeset: 77206:f4a7e738ad24
user: Vinay Sajip <vinay_sajip at yahoo.co.uk>
date: Mon May 28 17:01:17 2012 +0100
summary:
 Fixed typo.
files:
 Lib/test/test_venv.py | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_venv.py b/Lib/test/test_venv.py
--- a/Lib/test/test_venv.py
+++ b/Lib/test/test_venv.py
@@ -29,7 +29,7 @@
 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
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /