python/dist/src/Lib/test test_struct.py, 1.18, 1.19
Update of /cvsroot/python/python/dist/src/Lib/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22138/Lib/test Modified Files: test_struct.py Log Message: Patch #1011240: SystemError generated by struct.pack('P', 'foo'). Index: test_struct.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/test/test_struct.py,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- test_struct.py 12 Feb 2004 17:35:11 -0000 1.18 +++ test_struct.py 27 Sep 2004 19:27:50 -0000 1.19 @@ -54,6 +54,7 @@ simple_err(struct.pack, 'iii', 3) simple_err(struct.pack, 'i', 3, 3, 3) simple_err(struct.pack, 'i', 'foo') +simple_err(struct.pack, 'P', 'foo') simple_err(struct.unpack, 'd', 'flap') s = struct.pack('ii', 1, 2) simple_err(struct.unpack, 'iii', s)
participants (1)
-
arigoļ¼ users.sourceforge.net