Author: Gregor Wegberg <[email protected]>
Branch: gc-incminimark-pinning
Changeset: r71862:0904f8c3e0a2
Date: 2014-05-29 20:43 +0200
http://bitbucket.org/pypy/pypy/changeset/0904f8c3e0a2/
Log: argh... forgot to run the test after inlining. varname fixed.
diff --git a/rpython/memory/gc/test/test_object_pinning.py
b/rpython/memory/gc/test/test_object_pinning.py
--- a/rpython/memory/gc/test/test_object_pinning.py
+++ b/rpython/memory/gc/test/test_object_pinning.py
@@ -199,7 +199,7 @@
py.test.raises(RuntimeError, 'ptr_not_stackroot.someInt') # should be
freed
def test_full_pinned_nursery_pin_fail(self):
- typeid = self.get_type_id(TYPE)
+ typeid = self.get_type_id(S)
size = self.gc.fixed_size(typeid) +
self.gc.gcheaderbuilder.size_gc_header
raw_size = llmemory.raw_malloc_usage(size)
object_mallocs = self.gc.nursery_size // raw_size
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit