Issue 17757: test_executable_without_cwd fails when run in the installed location (original) (raw)
this test already has a:
@unittest.skipIf(sysconfig.is_python_build(),
"need an installed Python. See [#7774](issue7774 "[closed] sys.executable: wrong location if zeroth command argument is modified.")")but fails in the installed location.
====================================================================== FAIL: test_executable_without_cwd (test.test_subprocess.ProcessTestCase)
Traceback (most recent call last): File "/usr/lib/python3.3/test/test_subprocess.py", line 385, in test_executable_without_cwd self._assert_cwd('', "somethingyoudonthave", executable=sys.executable) File "/usr/lib/python3.3/test/test_subprocess.py", line 313, in _assert_cwd normcase(p.stdout.read().decode("utf-8"))) AssertionError: '' != '/tmp/tmp.eN4iQiwrR5/ubtree0t-testsuite-testtmp/tmpdir/test_python_21982'
- /tmp/tmp.eN4iQiwrR5/ubtree0t-testsuite-testtmp/tmpdir/test_python_21982
====================================================================== FAIL: test_executable_without_cwd (test.test_subprocess.ProcessTestCaseNoPoll)
Traceback (most recent call last): File "/usr/lib/python3.3/test/test_subprocess.py", line 385, in test_executable_without_cwd self._assert_cwd('', "somethingyoudonthave", executable=sys.executable) File "/usr/lib/python3.3/test/test_subprocess.py", line 313, in _assert_cwd normcase(p.stdout.read().decode("utf-8"))) AssertionError: '' != '/tmp/tmp.eN4iQiwrR5/ubtree0t-testsuite-testtmp/tmpdir/test_python_21982'
- /tmp/tmp.eN4iQiwrR5/ubtree0t-testsuite-testtmp/tmpdir/test_python_21982