diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-08-24 23:07:28 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-08-24 23:07:28 (GMT) |
commit | ec9d547edde95783b170cec799e110839a684085 (patch) | |
tree | 4885a931d7b1a25d02b0eddf57588b97064e3af1 /Lib | |
parent | 8a4448c8bb5aabbe3b4d167ba568687d197aaa1a (diff) | |
download | cpython-ec9d547edde95783b170cec799e110839a684085.zip cpython-ec9d547edde95783b170cec799e110839a684085.tar.gz cpython-ec9d547edde95783b170cec799e110839a684085.tar.bz2 |
allow test to work on implementations not using ref-counting (closes #22265)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_itertools.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ class TestBasicOps(unittest.TestCase): it = islice(it, 1) self.assertIsNotNone(wr()) list(it) # exhaust the iterator + test_support.gc_collect() self.assertIsNone(wr()) def test_takewhile(self): |