Commit c3960c28 authored by Ronald Oussoren's avatar Ronald Oussoren

Minor tweak of test_osx_env to

avoid failing when the framework is not
yet installed.
parent 3a4e50cb
......@@ -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)]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment