From: Vinay Sajip Date: Mon, 28 May 2012 16:01:17 +0000 (+0100) Subject: Fixed typo. X-Git-Tag: v3.3.0a4~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ef4c5010e45924c4c21441e372e83463e66515d5;p=thirdparty%2FPython%2Fcpython.git Fixed typo. --- diff --git a/Lib/test/test_venv.py b/Lib/test/test_venv.py index 50a8e93bf58b..4cbf1883b30b 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