[pypy-commit] pypy gc-minimark-pinning: Rename here too
arigo
noreply at buildbot.pypy.org
Sat May 12 18:53:55 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
Branch: gc-minimark-pinning
Changeset: r55061:e159e058a0ac
Date: 2012-05-12 18:52 +0200
http://bitbucket.org/pypy/pypy/changeset/e159e058a0ac/
Log: Rename here too
diff --git a/pypy/rpython/memory/test/test_transformed_gc.py b/pypy/rpython/memory/test/test_transformed_gc.py
--- a/pypy/rpython/memory/test/test_transformed_gc.py
+++ b/pypy/rpython/memory/test/test_transformed_gc.py
@@ -41,7 +41,7 @@
class GCTest(object):
gcpolicy = None
GC_CAN_MOVE = False
- GC_CAN_ALWAYS_PIN = False
+ GC_CAN_USUALLY_PIN = False
taggedpointers = False
def setup_class(cls):
@@ -699,7 +699,7 @@
res = self.runner("pinning")([10, 0])
if not self.GC_CAN_MOVE:
assert res == 13
- elif self.GC_CAN_ALWAYS_PIN:
+ elif self.GC_CAN_USUALLY_PIN:
assert res == 1
else:
assert res == 0 or res == 13 # sometimes fresh objs can't move
@@ -1247,7 +1247,7 @@
class TestMiniMarkGC(TestHybridGC):
gcname = "minimark"
GC_CAN_TEST_ID = True
- GC_CAN_ALWAYS_PIN = True
+ GC_CAN_USUALLY_PIN = True
class gcpolicy(gc.FrameworkGcPolicy):
class transformerclass(framework.FrameworkGCTransformer):
More information about the pypy-commit
mailing list