commit | ec9d547edde95783b170cec799e110839a684085 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sun Aug 24 18:07:28 2014 -0500 |
committer | Benjamin Peterson <benjamin@python.org> | Sun Aug 24 18:07:28 2014 -0500 |
tree | 4885a931d7b1a25d02b0eddf57588b97064e3af1 | |
parent | 8a4448c8bb5aabbe3b4d167ba568687d197aaa1a [diff] [blame] |
allow test to work on implementations not using ref-counting (closes #22265)
diff --git a/Lib/test/test_itertools.py b/Lib/test/test_itertools.py index 1bf6c53..5da4a6f 100644 --- a/Lib/test/test_itertools.py +++ b/Lib/test/test_itertools.py
@@ -808,6 +808,7 @@ it = islice(it, 1) self.assertIsNotNone(wr()) list(it) # exhaust the iterator + test_support.gc_collect() self.assertIsNone(wr()) def test_takewhile(self):