Author: Armin Rigo <[email protected]>
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
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to