[issue21264] test_compileall fails to build in the installed location
Matthias Klose
report at bugs.python.org
Wed Apr 16 20:59:40 CEST 2014
New submission from Matthias Klose:
the installation directory is non-writable, and the byte code files don't exist.
[1/1] test_compileall
test test_compileall failed -- Traceback (most recent call last):
File "/usr/lib/python3.4/test/test_compileall.py", line 194, in test_no_args_respects_force_flag
self.assertRunOK('-f', PYTHONPATH=self.directory)
File "/usr/lib/python3.4/test/test_compileall.py", line 144, in assertRunOK
*self._get_run_args(args), **env_vars)
File "/usr/lib/python3.4/test/script_helper.py", line 69, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/usr/lib/python3.4/test/script_helper.py", line 55, in _assert_python
"stderr follows:\n%s" % (rc, err.decode('ascii', 'ignore')))
AssertionError: Process return code is 1, stderr follows:
1 test failed:
test_compileall
Re-running failed tests in verbose mode
Re-running test 'test_compileall' in verbose mode
======================================================================
FAIL: test_no_args_respects_force_flag (test.test_compileall.CommandLineTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.4/test/test_compileall.py", line 194, in test_no_args_respects_force_flag
self.assertRunOK('-f', PYTHONPATH=self.directory)
File "/usr/lib/python3.4/test/test_compileall.py", line 144, in assertRunOK
*self._get_run_args(args), **env_vars)
File "/usr/lib/python3.4/test/script_helper.py", line 69, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/usr/lib/python3.4/test/script_helper.py", line 55, in _assert_python
"stderr follows:\n%s" % (rc, err.decode('ascii', 'ignore')))
AssertionError: Process return code is 1, stderr follows:
----------
messages: 216553
nosy: doko
priority: normal
severity: normal
status: open
title: test_compileall fails to build in the installed location
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21264>
_______________________________________
More information about the Python-bugs-list
mailing list