1. Pypy
  2. Untitled project
  3. pypy

Commits

Manuel Jacob  committed 2ede4cf

Add a gc.collect() here (ported from 2.7's test_functools).

  • Participants
  • Parent commits c704dff
  • Branches py3k

Comments (0)

Files changed (1)

File lib-python/3.2/test/test_functools.py

View file
         p = proxy(f)
         self.assertEqual(f.func, p.func)
         f = None
+        support.gc_collect()
         self.assertRaises(ReferenceError, getattr, p, 'func')
 
     def test_with_bound_and_unbound_methods(self):