fix windows buildbot

This commit is contained in:
Benjamin Peterson 2010-01-31 18:02:35 +00:00
parent 48a3c4e2e3
commit 7aedb3b30e
1 changed files with 1 additions and 1 deletions

View File

@ -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)