From: Benjamin Peterson Date: Sun, 31 Jan 2010 18:02:35 +0000 (+0000) Subject: fix windows buildbot X-Git-Tag: v2.7a3~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7aedb3b30e2a191df57c5b4deea6345605e77d59;p=python fix windows buildbot --- diff --git a/Lib/test/test_popen.py b/Lib/test/test_popen.py index 816b9d1570..92b5e92ad5 100644 --- a/Lib/test/test_popen.py +++ b/Lib/test/test_popen.py @@ -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)