equal
deleted
inserted
replaced
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 |