Author: Armin Rigo <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit