summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2020-07-19 10:18:24 +0200
committerArmin Rigo <arigo@tunes.org>2020-07-19 10:18:24 +0200
commit63b741f4e24663796b730cbab6a7b25dc6ece004 (patch)
treefba5eb682b95a5d96741ac9b28febfa28b5c0aa2
parent16e5c49fcccfeb92a132e9bf9144a23cdf9e5594 (diff)
downloadcffi-63b741f4e24663796b730cbab6a7b25dc6ece004.tar.gz
ctypes on windows doesn't correctly return 3-bytes structs
-rw-r--r--testing/cffi0/test_ownlib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/cffi0/test_ownlib.py b/testing/cffi0/test_ownlib.py
index 6a69cf6..ffad879 100644
--- a/testing/cffi0/test_ownlib.py
+++ b/testing/cffi0/test_ownlib.py
@@ -414,6 +414,8 @@ class TestOwnLib(object):
def test_return_three_bytes(self):
if self.module is None:
py.test.skip("fix the auto-generation of the tiny test lib")
+ if self.__class__.Backend is CTypesBackend:
+ py.test.skip("not working on win32 on the ctypes backend")
ffi = FFI(backend=self.Backend())
ffi.cdef("""
typedef struct {