Show More
@@ -184,13 +184,13 b' class parseindex2tests(unittest.TestCase' | |||||
184 | # original Python implementation of parseindex, both with and |
|
184 | # original Python implementation of parseindex, both with and | |
185 | # without inlined data. |
|
185 | # without inlined data. | |
186 |
|
186 | |||
187 |
|
|
187 | want = py_parseindex(data_inlined, True) | |
188 |
|
|
188 | got = parse_index2(data_inlined, True) | |
189 |
self.assertEqual( |
|
189 | self.assertEqual(want, got) # inline data | |
190 |
|
190 | |||
191 |
|
|
191 | want = py_parseindex(data_non_inlined, False) | |
192 |
|
|
192 | got = parse_index2(data_non_inlined, False) | |
193 |
self.assertEqual( |
|
193 | self.assertEqual(want, got) # no inline data | |
194 |
|
194 | |||
195 | ix = parsers.parse_index2(data_inlined, True)[0] |
|
195 | ix = parsers.parse_index2(data_inlined, True)[0] | |
196 | for i, r in enumerate(ix): |
|
196 | for i, r in enumerate(ix): |
General Comments 0
You need to be logged in to leave comments.
Login now