[ python-Bugs-1191458 ] [AST] Failing tests

SourceForge.net noreply at sourceforge.net
Mon Jul 11 06:13:43 CEST 2005


Bugs item #1191458, was opened at 2005-04-27 20:30
Message generated for change (Comment added) made by bcannon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1191458&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Parser/Compiler
Group: AST
Status: Open
Resolution: None
Priority: 9
Submitted By: Brett Cannon (bcannon)
Assigned to: Nobody/Anonymous (nobody)
Summary: [AST] Failing tests

Initial Comment:
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

----------------------------------------------------------------------

>Comment By: Brett Cannon (bcannon)
Date: 2005-07-10 21:13

Message:
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

----------------------------------------------------------------------

Comment By: Nick Coghlan (ncoghlan)
Date: 2005-05-28 04:40

Message:
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 
 

----------------------------------------------------------------------

Comment By: Nick Coghlan (ncoghlan)
Date: 2005-05-28 01:33

Message:
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. 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1191458&group_id=5470


More information about the Python-bugs-list mailing list