summaryrefslogtreecommitdiff
path: root/Lib/ctypes/test/test_win32.py
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2006-08-25 07:27:33 +0000
committerThomas Heller <theller@ctypes.org>2006-08-25 07:27:33 +0000
commite93a382b6cebf32c27a6681bd83ae33facc5761c (patch)
tree1d045953c992525ce974f66cffcb63cf61ffdd7c /Lib/ctypes/test/test_win32.py
parent42491fc043584f96f811d8761b14436e6fc85f71 (diff)
downloadcpython-e93a382b6cebf32c27a6681bd83ae33facc5761c.tar.gz
Port _ctypes.pyd to win64 on AMD64.
Diffstat (limited to 'Lib/ctypes/test/test_win32.py')
-rw-r--r--Lib/ctypes/test/test_win32.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/ctypes/test/test_win32.py b/Lib/ctypes/test/test_win32.py
index db530d3af4..10deacad53 100644
--- a/Lib/ctypes/test/test_win32.py
+++ b/Lib/ctypes/test/test_win32.py
@@ -6,7 +6,8 @@ import unittest, sys
import _ctypes_test
-if sys.platform == "win32":
+if sys.platform == "win32" and sizeof(c_void_p) == sizeof(c_int):
+ # Only windows 32-bit has different calling conventions.
class WindowsTestCase(unittest.TestCase):
def test_callconv_1(self):