[New-bugs-announce] [issue17046] test_subprocess test_executable_without_cwd fails when run with installed python

Ned Deily report at bugs.python.org
Sun Jan 27 07:04:12 CET 2013


New submission from Ned Deily:

./configure --enable-shared --with-pydebug --prefix=/py/root && make && make install
cd
export LD_LIBRARY_PATH=/py/root/lib
/py/root/bin/python3.4 -m test -w -uall,-largefile test_subprocess


======================================================================
FAIL: test_executable_without_cwd (test.test_subprocess.ProcessTestCase)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/py/root/lib/python3.4/test/test_subprocess.py", line 346, in test_executable_without_cwd
    self._assert_cwd('', "somethingyoudonthave", executable=sys.executable)
  File "/py/root/lib/python3.4/test/test_subprocess.py", line 274, in _assert_cwd
    normcase(p.stdout.read().decode("utf-8")))
AssertionError: '' != '/tmp/test_python_22505'
+ /tmp/test_python_22505

======================================================================
FAIL: test_executable_without_cwd (test.test_subprocess.ProcessTestCaseNoPoll)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/py/root/lib/python3.4/test/test_subprocess.py", line 346, in test_executable_without_cwd
    self._assert_cwd('', "somethingyoudonthave", executable=sys.executable)
  File "/py/root/lib/python3.4/test/test_subprocess.py", line 274, in _assert_cwd
    normcase(p.stdout.read().decode("utf-8")))
AssertionError: '' != '/tmp/test_python_22505'
+ /tmp/test_python_22505

----------------------------------------------------------------------

If we don't already have one, it would probably be a good idea to set up at least one buildbot that does a "make install" and runs the tests using the installed Python.

----------
components: Tests
messages: 180745
nosy: chris.jerdonek, ned.deily
priority: normal
severity: normal
status: open
title: test_subprocess test_executable_without_cwd fails when run with installed python
versions: Python 3.2, Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17046>
_______________________________________


More information about the New-bugs-announce mailing list