[pypy-commit] pypy default: "Fix" this test.

arigo noreply at buildbot.pypy.org
Tue Nov 1 08:29:58 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r48638:bfd8b80c9117
Date: 2011-11-01 07:29 +0000
http://bitbucket.org/pypy/pypy/changeset/bfd8b80c9117/

Log:	"Fix" this test.

diff --git a/pypy/module/array/test/test_array.py b/pypy/module/array/test/test_array.py
--- a/pypy/module/array/test/test_array.py
+++ b/pypy/module/array/test/test_array.py
@@ -835,7 +835,7 @@
         a.append(3.0)
         r = weakref.ref(a, lambda a: l.append(a()))
         del a
-        gc.collect()
+        gc.collect(); gc.collect()   # XXX needs two of them right now...
         assert l
         assert l[0] is None or len(l[0]) == 0
 


More information about the pypy-commit mailing list