[pypy-svn] r38629 - pypy/dist/pypy/lib
arigo at codespeak.net
arigo at codespeak.net
Mon Feb 12 19:36:51 CET 2007
Author: arigo
Date: Mon Feb 12 19:36:50 2007
New Revision: 38629
Modified:
pypy/dist/pypy/lib/struct.py
Log:
Kill these lines, waiting for a more comprehensive test suite (in the fullness of time).
Modified: pypy/dist/pypy/lib/struct.py
==============================================================================
--- pypy/dist/pypy/lib/struct.py (original)
+++ pypy/dist/pypy/lib/struct.py Mon Feb 12 19:36:50 2007
@@ -330,9 +330,3 @@
j += format['size']
return tuple(result)
-
-if __name__ == '__main__':
- print pack_float(1.23,4,'little')
- import struct
- print (struct.pack('f',1.23), pack('f',1.23))
- print unpack('f',pack('f',1.23))
More information about the Pypy-commit
mailing list