[ctypes-commit] ctypes/unittests test_bitfields.py,1.5,1.6
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2004-10-19 15:10:07
|
Update of /cvsroot/ctypes/ctypes/unittests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26447 Modified Files: test_bitfields.py Log Message: Enable some disabled code again. Index: test_bitfields.py =================================================================== RCS file: /cvsroot/ctypes/ctypes/unittests/test_bitfields.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** test_bitfields.py 13 Oct 2004 17:13:29 -0000 1.5 --- test_bitfields.py 19 Oct 2004 15:09:57 -0000 1.6 *************** *** 59,68 **** ("c", c_longlong, 1)] ! ## self.failUnlessEqual(sizeof(X), sizeof(c_longlong)) ! ## x = X() ! ## x.a, x.b, x.c = -1, 7, -1 ! ## self.failUnlessEqual((x.a, x.b, x.c), (-1, 7, -1)) ! def X_test_ulonglong(self): class X(Structure): _fields_ = [("a", c_ulonglong, 1), --- 59,68 ---- ("c", c_longlong, 1)] ! self.failUnlessEqual(sizeof(X), sizeof(c_longlong)) ! x = X() ! x.a, x.b, x.c = -1, 7, -1 ! self.failUnlessEqual((x.a, x.b, x.c), (-1, 7, -1)) ! def test_ulonglong(self): class X(Structure): _fields_ = [("a", c_ulonglong, 1), |