fix windows buildbot
This commit is contained in:
parent
48a3c4e2e3
commit
7aedb3b30e
|
@ -17,7 +17,7 @@ python = sys.executable
|
|||
|
||||
class PopenTest(unittest.TestCase):
|
||||
def _do_test_commandline(self, cmdline, expected):
|
||||
cmd = '"%s" -c "import sys;print sys.argv" %s' % (python, cmdline)
|
||||
cmd = '%s -c "import sys;print sys.argv" %s' % (python, cmdline)
|
||||
data = os.popen(cmd).read() + '\n'
|
||||
got = eval(data)[1:] # strip off argv[0]
|
||||
self.assertEqual(got, expected)
|
||||
|
|
Loading…
Reference in New Issue