[pypy-commit] pypy default: fix test

arigo pypy.commits at gmail.com
Fri Jun 10 05:51:34 EDT 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r85071:3586ac55f668
Date: 2016-06-10 11:39 +0200
http://bitbucket.org/pypy/pypy/changeset/3586ac55f668/

Log:	fix test

diff --git a/rpython/memory/gc/test/test_direct.py b/rpython/memory/gc/test/test_direct.py
--- a/rpython/memory/gc/test/test_direct.py
+++ b/rpython/memory/gc/test/test_direct.py
@@ -554,6 +554,7 @@
         assert res # we optimized it
         assert hdr_dst.tid & minimark.GCFLAG_TRACK_YOUNG_PTRS == 0 # and we copied the flag
         #
+        self.gc.card_page_indices = 128     # force > 0
         hdr_src.tid |= minimark.GCFLAG_TRACK_YOUNG_PTRS
         hdr_dst.tid |= minimark.GCFLAG_TRACK_YOUNG_PTRS
         hdr_src.tid |= minimark.GCFLAG_HAS_CARDS


More information about the pypy-commit mailing list