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 <rep...@bugs.python.org>
<http://bugs.python.org/issue17757>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to