diff options
author | Jean-Paul Calderone <exarkun@divmod.com> | 2010-06-18 20:00:17 (GMT) |
---|---|---|
committer | Jean-Paul Calderone <exarkun@divmod.com> | 2010-06-18 20:00:17 (GMT) |
commit | b33f0c1ccdab9a774a644ff928c3663685d6fd20 (patch) | |
tree | bf9ef32be84aebc5f528f6682d8dfa97b48f464e /Lib/test | |
parent | a37b7af4d787a53ad0dcbdedef0e95f8546d2e28 (diff) | |
download | cpython-b33f0c1ccdab9a774a644ff928c3663685d6fd20.zip cpython-b33f0c1ccdab9a774a644ff928c3663685d6fd20.tar.gz cpython-b33f0c1ccdab9a774a644ff928c3663685d6fd20.tar.bz2 |
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 a858c40..b3e3e41 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -486,8 +486,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): |