[New-bugs-announce] [issue17757] test_executable_without_cwd fails when run in the installed location
Matthias Klose
report at bugs.python.org
Tue Apr 16 13:39:21 CEST 2013
New submission from Matthias Klose:
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
----------
components: Tests
messages: 187074
nosy: doko
priority: normal
severity: normal
stage: needs patch
status: open
title: test_executable_without_cwd fails when run in the installed location
versions: Python 3.3, Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17757>
_______________________________________
More information about the New-bugs-announce
mailing list