summaryrefslogtreecommitdiff
path: root/Lib/ctypes/test/test_win32.py
diff options
context:
space:
mode:
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):