diff options
author | Georg Brandl <georg@python.org> | 2012-02-21 00:34:05 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-02-21 00:34:05 +0100 |
commit | 802505d05e7346df9d0a8feea61f22deaf48d268 (patch) | |
tree | 2aa57c06d5389eba48e763e217f87742aa2d6f4c /Lib/test/test_weakset.py | |
parent | 2fb477c0f0284439d40cb3f46eea45ef42446e53 (diff) | |
parent | 178e5ea305848015d514f4038118777374e44c87 (diff) | |
download | cpython-git-802505d05e7346df9d0a8feea61f22deaf48d268.tar.gz |
Merge more test vs hashing-order fixes from 3.2.
Diffstat (limited to 'Lib/test/test_weakset.py')
-rw-r--r-- | Lib/test/test_weakset.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_weakset.py b/Lib/test/test_weakset.py index 58a1f8790a..3cddf40c24 100644 --- a/Lib/test/test_weakset.py +++ b/Lib/test/test_weakset.py @@ -335,6 +335,7 @@ class TestWeakSet(unittest.TestCase): try: it = iter(s) next(it) + del it # Schedule an item for removal and recreate it u = ustr(str(items.pop())) gc.collect() # just in case |