[pypy-commit] stmgc c7-refactor: test_basic passes again

arigo noreply at buildbot.pypy.org
Mon Feb 24 16:18:34 CET 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: c7-refactor
Changeset: r831:e6165529e9fb
Date: 2014-02-24 16:18 +0100
http://bitbucket.org/pypy/stmgc/changeset/e6165529e9fb/

Log:	test_basic passes again

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
@@ -395,7 +395,10 @@
         lp1 = stm_allocate(4104)
         stm_set_char(lp1, '0')
         stm_set_char(lp1, '1', offset=4103)
+        self.push_root(lp1)
         self.commit_transaction()
+        lp1 = self.pop_root()
+        self.push_root(lp1)
         #
         self.start_transaction()
         stm_set_char(lp1, 'a')


More information about the pypy-commit mailing list