diff options
author | Thomas Heller <theller@ctypes.org> | 2009-07-21 19:04:02 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2009-07-21 19:04:02 (GMT) |
commit | d8431ae3bd3fea2b8a3c03d7d330c789c7bf7453 (patch) | |
tree | 1faca75aff7e0af899e1b275dfec0395199f9395 /Lib | |
parent | 24d9175ebe6c6eba6d7c648112a25bc1c14f83c1 (diff) | |
download | cpython-d8431ae3bd3fea2b8a3c03d7d330c789c7bf7453.zip cpython-d8431ae3bd3fea2b8a3c03d7d330c789c7bf7453.tar.gz cpython-d8431ae3bd3fea2b8a3c03d7d330c789c7bf7453.tar.bz2 |
Revert rev 74134, as it does not completely fixx issue #6493.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/ctypes/test/test_bitfields.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Lib/ctypes/test/test_bitfields.py b/Lib/ctypes/test/test_bitfields.py index 211d1db..e9c46c2 100644 --- a/Lib/ctypes/test/test_bitfields.py +++ b/Lib/ctypes/test/test_bitfields.py @@ -240,20 +240,5 @@ class BitFieldTest(unittest.TestCase): _anonymous_ = ["_"] _fields_ = [("_", X)] - def test_uint32(self): - class X(Structure): - _fields_ = [("a", c_uint32, 32)] - x = X() - x.a = 10 - self.failUnlessEqual(x.a, 10) - - def test_uint64(self): - class X(Structure): - _fields_ = [("a", c_uint64, 64)] - x = X() - x.a = 10 - self.failUnlessEqual(x.a, 10) - - if __name__ == "__main__": unittest.main() |