]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Revert misled test change in f189da5bda26.
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 17 Dec 2013 23:29:30 +0000 (00:29 +0100)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 17 Dec 2013 23:29:30 +0000 (00:29 +0100)
Lib/test/test_weakset.py

index 5b782dae91456e37562ef2ba8dcf4f2803814c36..d8abe5e2b3bf3347f4be104afffdf8674fcd6021 100644 (file)
@@ -371,7 +371,6 @@ 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