[pypy-commit] pypy stm-thread-2: Fix test

arigo noreply at buildbot.pypy.org
Tue Sep 11 14:35:35 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: stm-thread-2
Changeset: r57271:e24460878a52
Date: 2012-09-10 14:23 +0200
http://bitbucket.org/pypy/pypy/changeset/e24460878a52/

Log:	Fix test

diff --git a/pypy/rpython/memory/gc/test/test_stmgc.py b/pypy/rpython/memory/gc/test/test_stmgc.py
--- a/pypy/rpython/memory/gc/test/test_stmgc.py
+++ b/pypy/rpython/memory/gc/test/test_stmgc.py
@@ -330,7 +330,7 @@
     def test_write_barrier_main_thread(self):
         t, t_adr = self.malloc(S, globl=False)
         self.checkflags(t_adr, False, False)
-        obj = self.gc.stm_writebarrier(t_adr)     # main thread, but not global
+        obj = self.stm_writebarrier(t_adr)     # main thread, but not global
         assert obj == t_adr
         self.checkflags(obj, False, False)
 


More information about the pypy-commit mailing list