import unittest import gc gc.set_threshold(5) class TestGC(unittest.TestCase): def test_zip(self): container = [] iterator = zip([container]*2, [container]*3) container.append(iterator) next(iterator) del container, iterator def test_combinations(self): pass def test_combinations_with_replacement(self): pass def test_compress(self): pass def test_count(self): pass def test_cycle(self): pass def test_issue2246(self): pass def test_filterfalse(self): pass def test_zip_longest(self): pass def test_map(self): pass def test_permutations(self): pass