Ignore:
Timestamp:
08/14/05 05:39:31 (9 years ago)
Author:
xi
Message:

Fix obvious compatibility issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/test_parser.py

    r20 r23  
    227227            self.assertEqual(type(structure), list) 
    228228            self.assertEqual(len(node.value), len(structure)) 
    229             for i, item in enumerate(node.value): 
     229            for i in range(len(node.value)): 
     230                item = node.value[i] 
    230231                self.assertEqualStructure(item, structure[i]) 
    231232        elif node.kind == 'map': 
Note: See TracChangeset for help on using the changeset viewer.