Message90549
Added a test to test_bitfields.py:
def test_uint32(self):
class X(Structure):
_fields_ = [("a", c_uint32, 32)]
x = X()
x.a = 10
self.failUnlessEqual(x.a, 10)
Run in Python 2.5.2 and 2.6.2:
======================================================================
FAIL: test_uint32 (__main__.BitFieldTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_bitfields.py", line 73, in test_uint32
self.failUnlessEqual(x.a, 10)
AssertionError: 0L != 10 |
|
Date |
User |
Action |
Args |
2009-07-16 01:11:59 | higstar | set | recipients:
+ higstar, theller |
2009-07-16 01:11:59 | higstar | set | messageid: <1247706719.26.0.735618414968.issue6493@psf.upfronthosting.co.za> |
2009-07-16 01:11:57 | higstar | link | issue6493 messages |
2009-07-16 01:11:56 | higstar | create | |
|