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 <[email protected]>
<http://bugs.python.org/issue27322>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com