Author: Remi Meier <[email protected]>
Branch: c7
Changeset: r616:e911a68889cf
Date: 2014-01-16 18:17 +0100
http://bitbucket.org/pypy/stmgc/changeset/e911a68889cf/
Log: extend test
diff --git a/c7/test/test_basic.py b/c7/test/test_basic.py
--- a/c7/test/test_basic.py
+++ b/c7/test/test_basic.py
@@ -104,6 +104,8 @@
stm_push_root(lp)
stm_stop_transaction()
lp = stm_pop_root()
+ p1 = stm_get_real_address(lp)
+ assert p != p1
self.switch(1)
@@ -111,6 +113,7 @@
stm_write(lp) # privatize page
p_ = stm_get_real_address(lp)
assert p != p_
+ assert p1 != p_
assert p_[8] == 'u'
stm_stop_transaction()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit