Author: Richard Plangger <[email protected]>
Branch: s390x-backend
Changeset: r82088:cfb1f88ae10c
Date: 2016-02-05 16:58 +0100
http://bitbucket.org/pypy/pypy/changeset/cfb1f88ae10c/
Log: test checks that trace is formed for a little endian read, forcing
to read little endian on s390x
diff --git a/pypy/module/pypyjit/test_pypy_c/test_buffers.py
b/pypy/module/pypyjit/test_pypy_c/test_buffers.py
--- a/pypy/module/pypyjit/test_pypy_c/test_buffers.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_buffers.py
@@ -34,7 +34,7 @@
i = 0
while i < n:
i += 1
- struct.unpack('i', a) # ID: unpack
+ struct.unpack('<i', a) # ID: unpack
return i
log = self.run(main, [1000])
assert log.result == 1000
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit