This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_executable_without_cwd fails when run in the installed location
Type: Stage: needs patch
Components: Tests Versions: Python 3.3, Python 3.4
process
Status: closed Resolution: duplicate
Dependencies: Superseder: test_subprocess test_executable_without_cwd fails when run with installed python
View: 17046
Assigned To: Nosy List: doko, ned.deily
Priority: normal Keywords:

Created on 2013-04-16 11:39 by doko, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg187074 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2013-04-16 11:39
this test already has a:

    @unittest.skipIf(sysconfig.is_python_build(),
                     "need an installed Python. See #7774")

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
msg187105 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2013-04-16 17:35
Duplicate of Issue17046
History
Date User Action Args
2022-04-11 14:57:44adminsetgithub: 61957
2013-04-16 17:35:48ned.deilysetstatus: open -> closed

nosy: + ned.deily
messages: + msg187105

superseder: test_subprocess test_executable_without_cwd fails when run with installed python
resolution: duplicate
2013-04-16 11:39:38dokolinkissue17750 dependencies
2013-04-16 11:39:21dokocreate