summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-01-15 02:26:07 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-01-15 02:26:07 (GMT)
commit667dc19130445c084109333473194cbd76f4831a (patch)
tree7de6dc55b165a6e1859a57dcb5d5f5344dc6189d /Lib
parent0bc77474aa37b1275c06fa806a59c68acc0eabc7 (diff)
downloadcpython-667dc19130445c084109333473194cbd76f4831a.zip
cpython-667dc19130445c084109333473194cbd76f4831a.tar.gz
cpython-667dc19130445c084109333473194cbd76f4831a.tar.bz2
try to fix for windows
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_popen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_popen.py b/Lib/test/test_popen.py
index 95f6d20..816b9d1 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)