[Python-3000-checkins] r60298 - python/branches/py3k-ctypes-pep3118/Lib/ctypes/test/test_pep3118.py
thomas.heller
python-3000-checkins at python.org
Fri Jan 25 21:11:08 CET 2008
Author: thomas.heller
Date: Fri Jan 25 21:11:08 2008
New Revision: 60298
Modified:
python/branches/py3k-ctypes-pep3118/Lib/ctypes/test/test_pep3118.py
Log:
Fix test for 64-bt platform.
Modified: python/branches/py3k-ctypes-pep3118/Lib/ctypes/test/test_pep3118.py
==============================================================================
--- python/branches/py3k-ctypes-pep3118/Lib/ctypes/test/test_pep3118.py (original)
+++ python/branches/py3k-ctypes-pep3118/Lib/ctypes/test/test_pep3118.py Fri Jan 25 21:11:08 2008
@@ -65,11 +65,17 @@
(c_ubyte, "B", None, c_ubyte),
(c_short, "h", None, c_short),
(c_ushort, "H", None, c_ushort),
+
# c_int and c_uint may be aliases to c_long
+ #(c_int, "i", None, c_int),
+ #(c_uint, "I", None, c_uint),
+
(c_long, "l", None, c_long),
(c_ulong, "L", None, c_ulong),
- (c_longlong, "q", None, c_longlong),
- (c_ulonglong, "Q", None, c_ulonglong),
+
+ # c_longlong and c_ulonglong are aliases on 64-bit platforms
+ #(c_longlong, "q", None, c_longlong),
+ #(c_ulonglong, "Q", None, c_ulonglong),
(c_float, "f", None, c_float),
(c_double, "d", None, c_double),
More information about the Python-3000-checkins
mailing list