tests/test-rust-revlog.py
changeset 51236 7eea2e4109ae
parent 51188 13f58ce70299
child 51246 2966b88d4531
equal deleted inserted replaced
51235:633408a0f2e2 51236:7eea2e4109ae
    52         self.assertEqual(list(lazy), [3, 2, 1, 0])
    52         self.assertEqual(list(lazy), [3, 2, 1, 0])
    53         # a second time to validate that we spawn new iterators
    53         # a second time to validate that we spawn new iterators
    54         self.assertEqual(list(lazy), [3, 2, 1, 0])
    54         self.assertEqual(list(lazy), [3, 2, 1, 0])
    55 
    55 
    56         # let's check bool for an empty one
    56         # let's check bool for an empty one
    57         self.assertFalse(LazyAncestors(idx, [0], 0, False))
    57         self.assertFalse(LazyAncestors(rustidx, [0], 0, False))
    58 
    58 
    59 
    59 
    60 if __name__ == '__main__':
    60 if __name__ == '__main__':
    61     import silenttestrunner
    61     import silenttestrunner
    62 
    62