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.

classification
Title: [AST] Failing tests
Type: Stage:
Components: Interpreter Core Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: brett.cannon, jhylton, nascheme, ncoghlan, nnorwitz
Priority: critical Keywords:

Created on 2005-04-28 03:30 by brett.cannon, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (12)
msg25158 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2005-04-28 03:30
This tracker item is to be used to keep track of what
tests are currently failing on the AST branch.  This is
somewhat important sinced there are so many failures it
can be hard to detect if a change fixed what it was
supposed to or actually managed to break more code.

When posting follow-ups of fixed tests, please re-list
the currently failing tests so as to make it simple to
reference the current state of things.

So, the current offenders are (from a straight
``regrtest.py`` run on my OS X box, which always has
test__locale fail so I removed it)::

    test_compile test_cookielib test_dis test_doctest
    test_future test_genexps test_inspect
test_itertools test_new
    test_peepholer test_scope test_socket test_sort
test_subprocess
    test_symtable test_syntax test_trace test_traceback
test_warnings
    test_zipfile
msg25159 - (view) Author: Nick Coghlan (ncoghlan) * (Python committer) Date: 2005-05-28 08:33
Logged In: YES 
user_id=1038590

Bumped bug priority to 9 so it stays on top of the SF tracker. Also, we 
can't merge the AST branch until this bug is closed, so it is fairly 
important to close out these issues :) 
 
Running "./python Lib/test/regrtest.py -uall" 
 
Suse Linux 9.1: 
20 tests failed: 
    test_compile test_cookielib test_dis test_doctest test_future 
    test_genexps test_inspect test_itertools test_new test_ossaudiodev 
    test_peepholer test_scope test_sort test_subprocess 
test_symtable 
    test_syntax test_trace test_traceback test_warnings test_zipfile 
 
WIth the patch for 1186195 (genexp scoping) applied I get: 
 
19 tests failed: 
    test_compile test_cookielib test_dis test_doctest test_future 
    test_genexps test_inspect test_itertools test_new test_ossaudiodev 
    test_peepholer test_scope test_sort test_subprocess 
test_symtable 
    test_syntax test_trace test_traceback test_warnings 
 
The remaining test_genexps failures are due to assignment 
statements not checking for genexps as illegal targets. Running 
test_zipfile in verbose mode indicated genexp problems, so it makes 
sense that fixing the scoping eliminated those failures. 
 
I'm going to look at lambdas next, since they seem to be the culprits 
with respect to a few different test failures. 
msg25160 - (view) Author: Nick Coghlan (ncoghlan) * (Python committer) Date: 2005-05-28 11:40
Logged In: YES 
user_id=1038590

Fixing #1186353 (lambda argument unpacking) fixes test_sort and  
test_itertools: 
 
17 tests failed: 
    test_compile test_cookielib test_dis test_doctest test_future 
    test_genexps test_inspect test_new test_ossaudiodev 
test_peepholer 
    test_scope test_subprocess test_symtable test_syntax test_trace 
    test_traceback test_warnings 
 
msg25161 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2005-07-11 04:13
Logged In: YES 
user_id=357491

After applying all patches associated with all open bugs,
the failing tests from ``./python.exe Lib/test/regrtest.py``
are:

14 tests failed:
    test_cookielib test_dis test_future test_genexps
test_inspect
    test_new test_peepholer test_scope test_subprocess
test_symtable
    test_syntax test_trace test_traceback test_warnings
msg25162 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2005-07-11 04:15
Logged In: YES 
user_id=357491

Scratch the "all open bugs" comment; didn't get to bug #1195576.
msg25163 - (view) Author: Jeremy Hylton (jhylton) (Python triager) Date: 2005-10-07 18:01
Logged In: YES 
user_id=31392

Here's a quick status report on Linux + GCC 3.2.2 from today:

12 tests failed:
    test_dis test_doctest test_future test_genexps test_inspect
    test_new test_peepholer test_pwd test_scope test_subprocess
    test_symtable test_trace

7 skips unexpected on linux2:
    test_hotshot test_bsddb test_email test_parser
test_transformer
    test_email_codecs test_compiler

I'm going to trace into the details of why each of these
tests is failing.
msg25164 - (view) Author: Jeremy Hylton (jhylton) (Python triager) Date: 2005-10-07 18:46
Logged In: YES 
user_id=31392

test_dis update:

Fixed one of two failing tests.  test_dis() was easy. 
test_bug_708901() is harder.  The current AST only stores
line numbers for statements.  The test case is checking that
the lnotab can assign a single statement multiple line
numbers; in this case, the statement spans multiple lines
and the disassembled code should reflect that.  The fix is
probably to add line numbers to expressions, which requires
changing the AST definition and updating ast.c to assign
line numbers.
msg25165 - (view) Author: Neil Schemenauer (nascheme) * (Python committer) Date: 2005-10-24 04:51
Logged In: YES 
user_id=35752

I believe the only remaining broken tests are the ones
commented out in test_trace.
msg25166 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2005-10-25 22:03
Logged In: YES 
user_id=357491

Yep, all tests pass, so that just leaves the test_trace
tests that are currently commented out.
msg25167 - (view) Author: Jeremy Hylton (jhylton) (Python triager) Date: 2006-04-03 15:31
Logged In: YES 
user_id=31392

Just wanted to note that I have fixes for the failing tests
on my laptop.  Need to sync with the current trunk before I
can check in.
msg25168 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-08-03 05:59
Logged In: YES 
user_id=33168

Fix pending.
msg25169 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-08-04 04:59
Logged In: YES 
user_id=33168

I believe everything in this report is fixed.  If there are
problems that are found, please open a new report so they
will be easier to track.

Committed revision 51080.
History
Date User Action Args
2022-04-11 14:56:11adminsetgithub: 41916
2005-04-28 03:30:55brett.cannoncreate