Author: Armin Rigo <[email protected]>
Branch: nonmovable-list
Changeset: r84883:1cb1fc0f1aa7
Date: 2016-06-02 16:04 +0200
http://bitbucket.org/pypy/pypy/changeset/1cb1fc0f1aa7/
Log: An extra test
diff --git a/rpython/rlib/test/test_rgc.py b/rpython/rlib/test/test_rgc.py
--- a/rpython/rlib/test/test_rgc.py
+++ b/rpython/rlib/test/test_rgc.py
@@ -274,6 +274,7 @@
#
addr = rffi.cast(lltype.Signed, ptr)
ptr = rffi.cast(rffi.CCHARP, addr)
+ rgc.collect() # should not move lst.items
lst[-4] = 'g'
assert ptr[0] == 'g'
ptr[3] = 'H'
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit