| Index: scripts/common/unittests/annotator_test.py
|
| diff --git a/scripts/common/unittests/annotator_test.py b/scripts/common/unittests/annotator_test.py
|
| index a4be61da047a220bbc887a6702fe00758414e08d..7fa61cde4888245feb31fb67783e28aa0bdbb075 100755
|
| --- a/scripts/common/unittests/annotator_test.py
|
| +++ b/scripts/common/unittests/annotator_test.py
|
| @@ -284,11 +284,11 @@ class TestExecution(unittest.TestCase):
|
| '@@@STEP_CURSOR one@@@',
|
| '',
|
| '@@@STEP_STARTED@@@',
|
| - "/usr/bin/python -c print 'hello!'",
|
| + sys.executable + " -c print 'hello!'",
|
| ' allow_subannotations: False',
|
| ' always_run: False',
|
| ' build_failure: False',
|
| - ' cmd: [\'/usr/bin/python\', \'-c\', "print \'hello!\'"]',
|
| + ' cmd: [' + repr(sys.executable) + ', \'-c\', "print \'hello!\'"]',
|
| ' cwd: None',
|
| ' env: None',
|
| ' followup_fn: None',
|
| @@ -305,11 +305,11 @@ class TestExecution(unittest.TestCase):
|
| '@@@STEP_CURSOR two@@@',
|
| '',
|
| '@@@STEP_STARTED@@@',
|
| - "/usr/bin/python -c print 'yo!'",
|
| + sys.executable + " -c print 'yo!'",
|
| ' allow_subannotations: False',
|
| ' always_run: False',
|
| ' build_failure: False',
|
| - ' cmd: [\'/usr/bin/python\', \'-c\', "print \'yo!\'"]',
|
| + ' cmd: [' + repr(sys.executable) + ', \'-c\', "print \'yo!\'"]',
|
| ' cwd: None',
|
| ' env: None',
|
| ' followup_fn: None',
|
|
|