[pypy-svn] r18741 - pypy/dist/pypy/translator/asm/ppcgen/test

arigo at codespeak.net arigo at codespeak.net
Tue Oct 18 17:52:24 CEST 2005


Author: arigo
Date: Tue Oct 18 17:52:23 2005
New Revision: 18741

Modified:
   pypy/dist/pypy/translator/asm/ppcgen/test/test_form.py
Log:
Force PPC endianness for the test.


Modified: pypy/dist/pypy/translator/asm/ppcgen/test/test_form.py
==============================================================================
--- pypy/dist/pypy/translator/asm/ppcgen/test/test_form.py	(original)
+++ pypy/dist/pypy/translator/asm/ppcgen/test/test_form.py	Tue Oct 18 17:52:23 2005
@@ -25,7 +25,7 @@
 
 def p(w):
     import struct
-    return struct.pack('i', w)
+    return struct.pack('>i', w)
 
 
 class TestForm(Form):



More information about the Pypy-commit mailing list