[issue2381] test_subprocess fails if your sys.executable is on a path with a space in it
Gregory P. Smith [EMAIL PROTECTED] added the comment: fixed in trunk r63405 -- priority: - normal resolution: - accepted status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2381 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2381] test_subprocess fails if your sys.executable is on a path with a space in it
Changes by Gregory P. Smith [EMAIL PROTECTED]: -- assignee: - gregory.p.smith keywords: +easy nosy: +gregory.p.smith __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2381 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2381] test_subprocess fails if your sys.executable is on a path with a space in it
Jeff Balogh [EMAIL PROTECTED] added the comment: The patch works for me, and doesn't change anything except the test strings. Not having spaces in your path also helps. ;) -- nosy: +jeff.balogh __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2381 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2381] test_subprocess fails if your sys.executable is on a path with a space in it
Ralf Schmitt [EMAIL PROTECTED] added the comment: I can confirm this issue. 2 tests fail without this patch. please apply. here are the failing tests: == FAIL: test_args_string (test.test_subprocess.ProcessTestCase) -- Traceback (most recent call last): File /home/ralf/tt tt/trunk/Lib/test/test_subprocess.py, line 544, in test_args_string self.assertEqual(p.returncode, 47) AssertionError: 126 != 47 == FAIL: test_call_string (test.test_subprocess.ProcessTestCase) -- Traceback (most recent call last): File /home/ralf/tt tt/trunk/Lib/test/test_subprocess.py, line 585, in test_call_string self.assertEqual(rc, 47) AssertionError: 126 != 47 -- nosy: +schmir __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2381 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2381] test_subprocess fails if your sys.executable is on a path with a space in it
New submission from Alan Brooks [EMAIL PROTECTED]: Patch attached that escapes the executable name so this test doesn't fail. -- components: Tests files: test_subprocess-r61479.patch keywords: patch messages: 63883 nosy: lanny severity: normal status: open title: test_subprocess fails if your sys.executable is on a path with a space in it versions: Python 2.6 Added file: http://bugs.python.org/file9719/test_subprocess-r61479.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2381 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com