Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/test_parser.py

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