[New-bugs-announce] [issue27322] test_compile_path fails when python has been installed
Xavier de Gaye
report at bugs.python.org
Wed Jun 15 03:20:19 EDT 2016
New submission from Xavier de Gaye:
======================================================================
FAIL: test_compile_path (test.test_compileall.CompileallTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/xavier/src/python/default/Lib/test/test_compileall.py", line 118, in test_compile_path
self.assertTrue(compileall.compile_path(quiet=2))
AssertionError: False is not true
Changing the 'quiet' flag value to 0, gives:
test_compile_path (test.test_compileall.CompileallTests) ... Skipping current directory
Listing '/usr/local/lib/python36.zip'...
Can't list '/usr/local/lib/python36.zip'
Listing '/home/xavier/src/python/default/Lib'...
Listing '/home/xavier/src/python/default/Lib/plat-x86_64-linux-gnu'...
Can't list '/home/xavier/src/python/default/Lib/plat-x86_64-linux-gnu'
Listing '/home/xavier/src/python/default/build/lib.linux-x86_64-3.6-pydebug'...
Listing '/home/xavier/.local/lib/python3.6/site-packages'...
Listing '/usr/local/lib/python3.6/site-packages'...
Compiling '/usr/local/lib/python3.6/site-packages/easy_install.py'...
*** PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.6/site-packages/__pycache
__/easy_install.cpython-36.pyc.139734863394416'
FAIL
Note that this test has already been fixed for another problem in issue 26101.
----------
components: Tests
messages: 268607
nosy: brett.cannon, haypo, xdegaye
priority: low
severity: normal
stage: needs patch
status: open
title: test_compile_path fails when python has been installed
type: behavior
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27322>
_______________________________________
More information about the New-bugs-announce
mailing list