fix unit test after parallel assignment change
authorStefan Behnel <scoder@users.berlios.de>
Fri, 5 Mar 2010 10:45:59 +0000 (11:45 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 5 Mar 2010 10:45:59 +0000 (11:45 +0100)
Cython/Compiler/Tests/TestParseTreeTransforms.py

index b701b3dec9d550e4cd31ddf878ec0f70780e3099..bda4896fdc7bd3a84bfa0feefa4dccf9ff49e13e 100644 (file)
@@ -50,13 +50,13 @@ class TestNormalizeTree(TransformTest):
         """)
         self.assertLines(u"""
 (root): StatListNode
-  stats[0]: ParallelAssignmentNode
-    stats[0]: SingleAssignmentNode
-      lhs: NameNode
-      rhs: NameNode
-    stats[1]: SingleAssignmentNode
-      lhs: NameNode
-      rhs: NameNode
+  stats[0]: SingleAssignmentNode
+    lhs: TupleNode
+      args[0]: NameNode
+      args[1]: NameNode
+    rhs: TupleNode
+      args[0]: NameNode
+      args[1]: NameNode
 """, self.treetypes(t))
 
     def test_wrap_offagain(self):