This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients brett.cannon, vstinner
Date 2016-01-13.16:40:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452703257.16.0.0951114007651.issue26101@psf.upfronthosting.co.za>
In-reply-to
Content
"./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.
History
Date User Action Args
2016-01-13 16:40:57vstinnersetrecipients: + vstinner, brett.cannon
2016-01-13 16:40:57vstinnersetmessageid: <1452703257.16.0.0951114007651.issue26101@psf.upfronthosting.co.za>
2016-01-13 16:40:57vstinnerlinkissue26101 messages
2016-01-13 16:40:56vstinnercreate