Merged revisions 83073 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83073 | ronald.oussoren | 2010-07-23 12:48:36 +0100 (Fri, 23 Jul 2010) | 4 lines

  Minor tweak of test_osx_env to
  avoid failing when the framework is not
  yet installed.
........
This commit is contained in:
Ronald Oussoren 2010-07-23 11:51:28 +00:00
parent d7eb3a8d73
commit 87597749d5
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import sys
import unittest
class OSXEnvironmentVariableTestCase(unittest.TestCase):
def _check_sys(self, ev, cond, sv, val = '/some/path/to/python'):
def _check_sys(self, ev, cond, sv, val = sys.executable + 'dummy'):
with EnvironmentVarGuard() as evg:
subpc = [str(sys.executable), '-c',
'import sys; sys.exit(2 if "%s" %s %s else 3)' % (val, cond, sv)]