def test_process_again(self):
    'Test filter_unique with an ignoring container.'
    deduped = ProcessAgainList()
    deduper = tools.filter_unique(self.ints, container=deduped)
    deduped_out = list(deduper)
    self.assertEqual(deduped_out, [1, 3, 2, 1, 1, 4])
    self.assertEqual(deduped, set([2, 4]))
Test filter_unique with an ignoring container.
def test_process_again(self):
    
    deduped = ProcessAgainList()
    deduper = tools.filter_unique(self.ints, container=deduped)
    deduped_out = list(deduper)
    self.assertEqual(deduped_out, [1, 3, 2, 1, 1, 4])
    self.assertEqual(deduped, set([2, 4]))