Show More
@@ -267,10 +267,12 b' class parseindex2tests(unittest.TestCase' | |||
|
267 | 267 | appendrev(6) |
|
268 | 268 | self.assertEqual(len(index), 7) |
|
269 | 269 | |
|
270 |
del index[1: |
|
|
270 | del index[1:-1] | |
|
271 | 271 | |
|
272 | 272 | # assertions that failed before correction |
|
273 | 273 | self.assertEqual(len(index), 1) # was 4 |
|
274 | headrevs = getattr(index, 'headrevs', None) | |
|
275 | if headrevs is not None: # not implemented in pure | |
|
274 | 276 | self.assertEqual(index.headrevs(), [0]) # gave ValueError |
|
275 | 277 | |
|
276 | 278 |
General Comments 0
You need to be logged in to leave comments.
Login now