Author: Armin Rigo <ar...@tunes.org>
Branch: gc-del-2
Changeset: r66075:d999fdfa85b3
Date: 2013-08-11 18:13 +0200
http://bitbucket.org/pypy/pypy/changeset/d999fdfa85b3/

Log:    Oups, needs to be written this way (checked with major collections)

diff --git a/rpython/memory/test/test_minimark_gc.py 
b/rpython/memory/test/test_minimark_gc.py
--- a/rpython/memory/test/test_minimark_gc.py
+++ b/rpython/memory/test/test_minimark_gc.py
@@ -21,9 +21,13 @@
             pass
         state = State()
 
+        def make():
+            A()
+            A()
+
         def f():
             state.seen = 0
-            A(); A()
+            make()
             rgc.collect(0)    # minor collection only
             return state.seen
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to