summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_osx_env.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_osx_env.py')
-rw-r--r--Lib/test/test_osx_env.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_osx_env.py b/Lib/test/test_osx_env.py
index 10fe020..8b3df37 100644
--- a/Lib/test/test_osx_env.py
+++ b/Lib/test/test_osx_env.py
@@ -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)]