Author: Maciej Fijalkowski <[email protected]>
Branch: gc-minimark-pinning
Changeset: r54380:f1d2d360a809
Date: 2012-04-15 20:57 +0200
http://bitbucket.org/pypy/pypy/changeset/f1d2d360a809/

Log:    another failing test

diff --git a/pypy/rpython/memory/gc/test/test_direct.py 
b/pypy/rpython/memory/gc/test/test_direct.py
--- a/pypy/rpython/memory/gc/test/test_direct.py
+++ b/pypy/rpython/memory/gc/test/test_direct.py
@@ -541,6 +541,8 @@
         self.gc.id(s) # allocate shadow
         self.gc.pin(llmemory.cast_ptr_to_adr(s))
         self.gc.minor_collection(1)
+        self.gc.unpin(llmemory.cast_ptr_to_adr(s))
+        self.gc.minor_collection(1)
         assert self.gc.nursery_free != self.gc.nursery
         # we still have a pinned object
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to