from pypy.lib import struct def test_simple(): morezeros = '\x00' * (struct.calcsize('l')-4) assert struct.pack('