Commits

Philip Jenvey committed ebd9a91

we need a collect here

  • Participants
  • Parent commits e1402db
  • Branches stdlib-3.2.5

Comments (0)

Files changed (1)

File lib-python/3/test/test_weakref.py

         self.assertEqual(dict, ddict)
         with testcontext() as (k, v):
             dict.clear()
+        gc_collect()
         self.assertEqual(len(dict), 0)
 
     def test_weak_keys_destroy_while_iterating(self):