[pypy-commit] stmgc copy-over-original2: Fix test
arigo
noreply at buildbot.pypy.org
Fri Jul 26 16:31:16 CEST 2013
Author: Armin Rigo <arigo at tunes.org>
Branch: copy-over-original2
Changeset: r454:f85126cb4b2c
Date: 2013-07-26 16:30 +0200
http://bitbucket.org/pypy/stmgc/changeset/f85126cb4b2c/
Log: Fix test
diff --git a/c4/test/test_et.py b/c4/test/test_et.py
--- a/c4/test/test_et.py
+++ b/c4/test/test_et.py
@@ -80,10 +80,7 @@
def test_prebuilt_is_public():
p = palloc(HDR)
assert p.h_revision == 1
- assert p.h_tid == lib.gettid(p) | (GCFLAG_OLD |
- GCFLAG_VISITED |
- GCFLAG_PUBLIC |
- GCFLAG_PREBUILT_ORIGINAL)
+ assert p.h_tid == lib.gettid(p) | lib.PREBUILT_FLAGS
assert classify(p) == "public"
assert lib.stm_id(p) != 0
More information about the pypy-commit
mailing list