(self)
| 737 | eq_(result.all(), []) |
| 738 | |
| 739 | def test_partition_unique_yield_per(self): |
| 740 | result = self._fixture() |
| 741 | |
| 742 | r = [] |
| 743 | for partition in result.unique().yield_per(2).partitions(): |
| 744 | r.append(list(partition)) |
| 745 | eq_(r, [[(1, 1, 1), (2, 1, 2)], [(1, 3, 2), (4, 1, 2)]]) |
| 746 | |
| 747 | eq_(result.all(), []) |
| 748 | |
| 749 | def test_partition_yield_per(self): |
| 750 | result = self._fixture() |