[issue26101] Lib/test/test_compileall.py fails when run directly
STINNER Victor
report at bugs.python.org
Wed Jan 13 11:40:57 EST 2016
New submission from STINNER Victor:
"./python Lib/test/test_compileall.py" fails on test_compile_path() because the Lib/test/ directory is in sys.path and this directory contains invalid Python scripts like Lib/test/badsyntax_pep3120.py
Attached patch fixes the issue by removing temporarely Lib/test/ from sys.path.
Note: Python 3.5 doesn't test compileall.compile_path() which fails. The new test was added by the changeset 71f071f2e074 of the issue #25768.
----------
files: test_compileall.patch
keywords: patch
messages: 258154
nosy: brett.cannon, haypo
priority: normal
severity: normal
status: open
title: Lib/test/test_compileall.py fails when run directly
versions: Python 3.6
Added file: http://bugs.python.org/file41607/test_compileall.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26101>
_______________________________________
More information about the Python-bugs-list
mailing list