This commit is contained in:
Benjamin Peterson 2014-08-24 18:08:22 -05:00
commit ca18be6db2

View file

@ -1100,6 +1100,7 @@ def test_islice(self):
it = islice(it, 1)
self.assertIsNotNone(wr())
list(it) # exhaust the iterator
support.gc_collect()
self.assertIsNone(wr())
def test_takewhile(self):