[Python-Dev] Current trunk test failures
Tim Peters
tim.peters at gmail.com
Mon Feb 27 06:36:20 CET 2006
The buildbot shows that the debug-build test_grammar is dying with a C
assert failure on all boxes.
In case it helps, in a Windows release build test_transformer is also failing:
test_transformer
test test_transformer failed -- Traceback (most recent call last):
File "C:\Code\python\lib\test\test_transformer.py", line 16, in
testMultipleLHS
a = transformer.parse(s)
File "C:\Code\python\lib\compiler\transformer.py", line 52, in parse
return Transformer().parsesuite(buf)
File "C:\Code\python\lib\compiler\transformer.py", line 129, in parsesuite
return self.transform(parser.suite(text))
File "C:\Code\python\lib\compiler\transformer.py", line 125, in transform
return self.compile_node(tree)
File "C:\Code\python\lib\compiler\transformer.py", line 158, in compile_node
return self.file_input(node[1:])
File "C:\Code\python\lib\compiler\transformer.py", line 189, in file_input
self.com_append_stmt(stmts, node)
File "C:\Code\python\lib\compiler\transformer.py", line 1036, in
com_append_stmt
result = self.lookup_node(node)(node[1:])
File "C:\Code\python\lib\compiler\transformer.py", line 305, in stmt
return self.com_stmt(nodelist[0])
File "C:\Code\python\lib\compiler\transformer.py", line 1029, in com_stmt
result = self.lookup_node(node)(node[1:])
File "C:\Code\python\lib\compiler\transformer.py", line 315, in simple_stmt
self.com_append_stmt(stmts, nodelist[i])
File "C:\Code\python\lib\compiler\transformer.py", line 1036, in
com_append_stmt
result = self.lookup_node(node)(node[1:])
File "C:\Code\python\lib\compiler\transformer.py", line 305, in stmt
return self.com_stmt(nodelist[0])
File "C:\Code\python\lib\compiler\transformer.py", line 1029, in com_stmt
result = self.lookup_node(node)(node[1:])
File "C:\Code\python\lib\compiler\transformer.py", line 353, in expr_stmt
exprNode = self.lookup_node(en)(en[1:])
File "C:\Code\python\lib\compiler\transformer.py", line 763, in lookup_node
return self._dispatch[node[0]]
KeyError: 324
Also test_parser:
C:\Code\python\PCbuild>python -E -tt ../lib/test/regrtest.py -v test_parser
test_parser
test_assert (test.test_parser.RoundtripLegalSyntaxTestCase) ... FAIL
test_basic_import_statement
(test.test_parser.RoundtripLegalSyntaxTestCase) ... ok
test_class_defs (test.test_parser.RoundtripLegalSyntaxTestCase) ... ok
test_expressions (test.test_parser.RoundtripLegalSyntaxTestCase) ... FAIL
test_function_defs (test.test_parser.RoundtripLegalSyntaxTestCase) ... FAIL
test_import_from_statement
(test.test_parser.RoundtripLegalSyntaxTestCase) ... ok
test_pep263 (test.test_parser.RoundtripLegalSyntaxTestCase) ... ok
test_print (test.test_parser.RoundtripLegalSyntaxTestCase) ... FAIL
test_simple_assignments (test.test_parser.RoundtripLegalSyntaxTestCase) ... FAIL
test_simple_augmented_assignments
(test.test_parser.RoundtripLegalSyntaxTestCase) ... FAIL
test_simple_expression (test.test_parser.RoundtripLegalSyntaxTestCase) ... FAIL
test_yield_statement (test.test_parser.RoundtripLegalSyntaxTestCase) ... FAIL
test_a_comma_comma_c (test.test_parser.IllegalSyntaxTestCase) ... ok
test_illegal_operator (test.test_parser.IllegalSyntaxTestCase) ... ok
test_illegal_yield_1 (test.test_parser.IllegalSyntaxTestCase) ... ok
test_illegal_yield_2 (test.test_parser.IllegalSyntaxTestCase) ... ok
test_junk (test.test_parser.IllegalSyntaxTestCase) ... ok
test_malformed_global (test.test_parser.IllegalSyntaxTestCase) ... ok
test_print_chevron_comma (test.test_parser.IllegalSyntaxTestCase) ... ok
test_compile_error (test.test_parser.CompileTestCase) ... ok
test_compile_expr (test.test_parser.CompileTestCase) ... ok
test_compile_suite (test.test_parser.CompileTestCase) ... ok
======================================================================
FAIL: test_assert (test.test_parser.RoundtripLegalSyntaxTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Code\python\lib\test\test_parser.py", line 180, in test_assert
self.check_suite("assert alo < ahi and blo < bhi\n")
File "C:\Code\python\lib\test\test_parser.py", line 28, in check_suite
self.roundtrip(parser.suite, s)
File "C:\Code\python\lib\test\test_parser.py", line 19, in roundtrip
self.fail("could not roundtrip %r: %s" % (s, why))
AssertionError: could not roundtrip 'assert alo < ahi and blo <
bhi\n': Expected node type 303, got 302.
======================================================================
FAIL: test_expressions (test.test_parser.RoundtripLegalSyntaxTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Code\python\lib\test\test_parser.py", line 50, in test_expressions
self.check_expr("foo(1)")
File "C:\Code\python\lib\test\test_parser.py", line 25, in check_expr
self.roundtrip(parser.expr, s)
File "C:\Code\python\lib\test\test_parser.py", line 19, in roundtrip
self.fail("could not roundtrip %r: %s" % (s, why))
AssertionError: could not roundtrip 'foo(1)': Expected node type 303, got 302.
======================================================================
FAIL: test_function_defs (test.test_parser.RoundtripLegalSyntaxTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Code\python\lib\test\test_parser.py", line 119, in test_function_defs
self.check_suite("def f(foo=bar): pass")
File "C:\Code\python\lib\test\test_parser.py", line 28, in check_suite
self.roundtrip(parser.suite, s)
File "C:\Code\python\lib\test\test_parser.py", line 19, in roundtrip
self.fail("could not roundtrip %r: %s" % (s, why))
AssertionError: could not roundtrip 'def f(foo=bar): pass': Expected
node type 303, got 302.
======================================================================
FAIL: test_print (test.test_parser.RoundtripLegalSyntaxTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Code\python\lib\test\test_parser.py", line 86, in test_print
self.check_suite("print 1")
File "C:\Code\python\lib\test\test_parser.py", line 28, in check_suite
self.roundtrip(parser.suite, s)
File "C:\Code\python\lib\test\test_parser.py", line 19, in roundtrip
self.fail("could not roundtrip %r: %s" % (s, why))
AssertionError: could not roundtrip 'print 1': Expected node type 303, got 302.
======================================================================
FAIL: test_simple_assignments (test.test_parser.RoundtripLegalSyntaxTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Code\python\lib\test\test_parser.py", line 97, in
test_simple_assignments
self.check_suite("a = b")
File "C:\Code\python\lib\test\test_parser.py", line 28, in check_suite
self.roundtrip(parser.suite, s)
File "C:\Code\python\lib\test\test_parser.py", line 19, in roundtrip
self.fail("could not roundtrip %r: %s" % (s, why))
AssertionError: could not roundtrip 'a = b': Expected node type 303, got 302.
======================================================================
FAIL: test_simple_augmented_assignments
(test.test_parser.RoundtripLegalSyntaxTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Code\python\lib\test\test_parser.py", line 101, in
test_simple_augmented_assignments
self.check_suite("a += b")
File "C:\Code\python\lib\test\test_parser.py", line 28, in check_suite
self.roundtrip(parser.suite, s)
File "C:\Code\python\lib\test\test_parser.py", line 19, in roundtrip
self.fail("could not roundtrip %r: %s" % (s, why))
AssertionError: could not roundtrip 'a += b': Expected node type 303, got 302.
======================================================================
FAIL: test_simple_expression (test.test_parser.RoundtripLegalSyntaxTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Code\python\lib\test\test_parser.py", line 94, in
test_simple_expression
self.check_suite("a")
File "C:\Code\python\lib\test\test_parser.py", line 28, in check_suite
self.roundtrip(parser.suite, s)
File "C:\Code\python\lib\test\test_parser.py", line 19, in roundtrip
self.fail("could not roundtrip %r: %s" % (s, why))
AssertionError: could not roundtrip 'a': Expected node type 303, got 302.
======================================================================
FAIL: test_yield_statement (test.test_parser.RoundtripLegalSyntaxTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Code\python\lib\test\test_parser.py", line 31, in
test_yield_statement
self.check_suite("def f(): yield 1")
File "C:\Code\python\lib\test\test_parser.py", line 28, in check_suite
self.roundtrip(parser.suite, s)
File "C:\Code\python\lib\test\test_parser.py", line 19, in roundtrip
self.fail("could not roundtrip %r: %s" % (s, why))
AssertionError: could not roundtrip 'def f(): yield 1': Expected node
type 303, got 302.
----------------------------------------------------------------------
Ran 22 tests in 0.015s
FAILED (failures=8)
test test_parser failed -- errors occurred; run in verbose mode for details
1 test failed:
test_parser
and also test_compiler.
More information about the Python-Dev
mailing list