summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_itertools.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_itertools.py b/Lib/test/test_itertools.py
index fea6816..5f33d39 100644
--- a/Lib/test/test_itertools.py
+++ b/Lib/test/test_itertools.py
@@ -1100,6 +1100,7 @@ class TestBasicOps(unittest.TestCase):
it = islice(it, 1)
self.assertIsNotNone(wr())
list(it) # exhaust the iterator
+ support.gc_collect()
self.assertIsNone(wr())
def test_takewhile(self):