Author: David Schneider <david.schnei...@picle.org>
Branch: 
Changeset: r64122:04721409e7a3
Date: 2013-05-15 12:47 +0200
http://bitbucket.org/pypy/pypy/changeset/04721409e7a3/

Log:    make this test read from a word-aligned location

diff --git a/rpython/jit/metainterp/test/test_rawmem.py 
b/rpython/jit/metainterp/test/test_rawmem.py
--- a/rpython/jit/metainterp/test/test_rawmem.py
+++ b/rpython/jit/metainterp/test/test_rawmem.py
@@ -48,8 +48,8 @@
     def test_raw_storage_float(self):
         def f():
             p = alloc_raw_storage(15)
-            raw_storage_setitem(p, 3, 2.4e15)
-            res = raw_storage_getitem(lltype.Float, p, 3)
+            raw_storage_setitem(p, 4, 2.4e15)
+            res = raw_storage_getitem(lltype.Float, p, 4)
             free_raw_storage(p)
             return res
         res = self.interp_operations(f, [])
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to