simpleparse.tests.test_backup_on_subtable_failure | index /home/mcfletch/pylive/simpleparse/tests/test_backup_on_subtable_failure.py |
Modules | ||||||
|
Data | ||
declaration = "testparser := (a,b)*\na := 'a'\nb := 'b'\n" expectedResult = (1, [('a', 0, 1, []), ('b', 1, 2, [])], 2) parser = ((None, 207, (('a', 21, 'a'), ('b', 21, 'b')), 2, 1), (None, 101, 1, -1, 1)) result = (1, [('a', 0, 1, None), ('b', 1, 2, None)], 2) testdata = 'aba' |