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