Author: Armin Rigo <[email protected]>
Branch: copy-over-original2
Changeset: r437:3afacc15e34b
Date: 2013-07-25 17:30 +0200
http://bitbucket.org/pypy/stmgc/changeset/3afacc15e34b/
Log: Fix the test
diff --git a/c4/test/test_gcpage.py b/c4/test/test_gcpage.py
--- a/c4/test/test_gcpage.py
+++ b/c4/test/test_gcpage.py
@@ -193,12 +193,12 @@
major_collect()
major_collect()
p1b = lib.stm_pop_root()
- assert p1b == p2
- check_free_old(p1)
- check_not_free(p2)
- p3 = lib.stm_write_barrier(p2)
- assert p3 != p2
- assert p3 == lib.stm_write_barrier(p2)
+ assert p1b == p1
+ check_not_free(p1)
+ check_free_old(p2)
+ p3 = lib.stm_write_barrier(p1)
+ assert p3 != p1
+ assert p3 == lib.stm_write_barrier(p1)
def test_new_version_id_alive():
p1 = oalloc(HDR); make_public(p1)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit