diff options
author | Jean-Paul Calderone <exarkun@divmod.com> | 2010-06-18 20:03:54 (GMT) |
---|---|---|
committer | Jean-Paul Calderone <exarkun@divmod.com> | 2010-06-18 20:03:54 (GMT) |
commit | 1ddd4075bf65abb6b0b768774babdd6cc2a88ca1 (patch) | |
tree | 3b8d397cabe0855e90a0c7a171684f0fe78fdeff /Lib/test | |
parent | f568218e7e6211fa93d390eb327379776962867e (diff) | |
download | cpython-1ddd4075bf65abb6b0b768774babdd6cc2a88ca1.zip cpython-1ddd4075bf65abb6b0b768774babdd6cc2a88ca1.tar.gz cpython-1ddd4075bf65abb6b0b768774babdd6cc2a88ca1.tar.bz2 |
Merged revisions 82075 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r82075 | jean-paul.calderone | 2010-06-18 16:00:17 -0400 (Fri, 18 Jun 2010) | 12 lines
Revert r60115
This revision introduced quoting for strings containing | based
on a misunderstanding of the commonly used quoting rules used
on Windows.
| is interpreted by cmd.exe, not by the MS C runtime argv initializer.
It only needs to be quoted if it is part of an argument passed through
cmd.exe.
See issue1300, issue7839, and issue8972.
........
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_subprocess.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index 0dd5da4..8469449 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -478,8 +478,6 @@ class ProcessTestCase(BaseTestCase): '"a\\\\b\\ c" d e') self.assertEqual(subprocess.list2cmdline(['ab', '']), 'ab ""') - self.assertEqual(subprocess.list2cmdline(['echo', 'foo|bar']), - 'echo "foo|bar"') def test_poll(self): |