[pypy-commit] pypy stm-gc: Fix test.
arigo
noreply at buildbot.pypy.org
Mon Apr 30 15:38:48 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
Branch: stm-gc
Changeset: r54827:9f7e3a9f788f
Date: 2012-04-30 15:38 +0200
http://bitbucket.org/pypy/pypy/changeset/9f7e3a9f788f/
Log: Fix test.
diff --git a/pypy/rpython/memory/test/test_transformed_gc.py b/pypy/rpython/memory/test/test_transformed_gc.py
--- a/pypy/rpython/memory/test/test_transformed_gc.py
+++ b/pypy/rpython/memory/test/test_transformed_gc.py
@@ -1139,6 +1139,8 @@
pass
def f():
+ # first, make sure we don't start with a nursery almost full
+ rgc.collect(0)
# we need at least 1 obj to allocate a nursery
a = A()
nf_a = llop.gc_adr_of_nursery_free(llmemory.Address)
More information about the pypy-commit
mailing list