From 9067ad1e54d0d679293213982914f1395b27b42c Mon Sep 17 00:00:00 2001 From: "benjamin.peterson" Date: Fri, 15 Jan 2010 02:26:07 +0000 Subject: [PATCH] try to fix for windows git-svn-id: http://svn.python.org/projects/python/trunk@77511 6015fed2-1504-0410-9fe1-9d1591cc4771 --- Lib/test/test_popen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_popen.py b/Lib/test/test_popen.py index 95f6d20976..816b9d1570 100644 --- a/Lib/test/test_popen.py +++ b/Lib/test/test_popen.py @@ -18,7 +18,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) - data = os.popen(cmd).read() + data = os.popen(cmd).read() + '\n' got = eval(data)[1:] # strip off argv[0] self.assertEqual(got, expected) -- 2.11.4.GIT