Author: Armin Rigo <[email protected]>
Branch: stmgc-c7
Changeset: r73993:b8579875b4ed
Date: 2014-10-17 15:02 +0200
http://bitbucket.org/pypy/pypy/changeset/b8579875b4ed/
Log: Comment
diff --git a/rpython/jit/backend/llsupport/test/zrpy_gc_test.py
b/rpython/jit/backend/llsupport/test/zrpy_gc_test.py
--- a/rpython/jit/backend/llsupport/test/zrpy_gc_test.py
+++ b/rpython/jit/backend/llsupport/test/zrpy_gc_test.py
@@ -356,6 +356,11 @@
def __del__(self):
counter.cnt -= 1
def before(n, x):
+ # we set 'cnt' to the number of Z instances that will be created,
+ # then run f() this number of times, then rgc.collect() is
+ # called. Then we repeat the whole thing, so here we check
+ # _first_ that almost all Z instances have had their __del__
+ # invoked in the previous run.
debug_print('counter.cnt =', counter.cnt)
check(counter.cnt < 5)
counter.cnt = n // x.foo
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit