diff options
author | Peter Astrand <astrand@lysator.liu.se> | 2007-01-13 22:35:35 (GMT) |
---|---|---|
committer | Peter Astrand <astrand@lysator.liu.se> | 2007-01-13 22:35:35 (GMT) |
commit | 10514a70ace6ba5b67d2b34dc4c0738d30f51226 (patch) | |
tree | 6b7d1b75db29707d5d374bb2307ddc0c055868fe /Lib/test/test_subprocess.py | |
parent | 2be9d43c18213be2387f3cdaf9d7bf02fdd37e8d (diff) | |
download | cpython-10514a70ace6ba5b67d2b34dc4c0738d30f51226.zip cpython-10514a70ace6ba5b67d2b34dc4c0738d30f51226.tar.gz cpython-10514a70ace6ba5b67d2b34dc4c0738d30f51226.tar.bz2 |
Fix for bug #1634343: allow specifying empty arguments on Windows
Diffstat (limited to 'Lib/test/test_subprocess.py')
-rw-r--r-- | Lib/test/test_subprocess.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index 64f8d40..c2db6fa 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -430,6 +430,8 @@ class ProcessTestCase(unittest.TestCase): '"a\\\\b c" d e') self.assertEqual(subprocess.list2cmdline(['a\\\\b\\ c', 'd', 'e']), '"a\\\\b\\ c" d e') + self.assertEqual(subprocess.list2cmdline(['ab', '']), + 'ab ""') def test_poll(self): |