[New-bugs-announce] [issue24981] Add a test which uses the ast module to compile the stdlib

Brett Cannon report at bugs.python.org
Tue Sep 1 22:49:15 CEST 2015


New submission from Brett Cannon:

Issue #24975 shows that we can easily end up with holes in support from the ast module. We should probably make sure we have a test that goes through the entire stdlib, Does an ast.parse(), and then passes the result to compile() to verify no exceptions are raised. We should either avoid the test/ directory or blacklist specific files which will fail because they are designed to be syntactically incorrect. The test can also be behind a -u flag if it turns out to be an expensive test.

----------
components: Tests
messages: 249516
nosy: brett.cannon
priority: normal
severity: normal
stage: test needed
status: open
title: Add a test which uses the ast module to compile the stdlib
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24981>
_______________________________________


More information about the New-bugs-announce mailing list