[issue2381] test_subprocess fails if your sys.executable is on a path with a space in it

Ralf Schmitt report at bugs.python.org
Tue Mar 18 19:02:23 CET 2008


Ralf Schmitt <schmir at gmail.com> 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 <report at bugs.python.org>
<http://bugs.python.org/issue2381>
__________________________________


More information about the Python-bugs-list mailing list