Author: Manuel Jacob
Branch: py3k
Changeset: r61363:2ede4cf3b933
Date: 2013-02-16 17:36 +0100
http://bitbucket.org/pypy/pypy/changeset/2ede4cf3b933/

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

diff --git a/lib-python/3.2/test/test_functools.py 
b/lib-python/3.2/test/test_functools.py
--- a/lib-python/3.2/test/test_functools.py
+++ b/lib-python/3.2/test/test_functools.py
@@ -140,6 +140,7 @@
         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):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to