]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-27643 - skip test_ctypes test case with XLC compiler. (GH-5164)
authorMichael Felt <aixtools@users.noreply.github.com>
Wed, 26 Dec 2018 03:54:22 +0000 (04:54 +0100)
committerNick Coghlan <ncoghlan@gmail.com>
Wed, 26 Dec 2018 03:54:22 +0000 (13:54 +1000)
commit22462da70c1ae015a60a7b821547bc6d2b5bc265
tree5f36abcea8207375e4de8659197473884bcfbb3b
parent5661459f5f508ea4bd24c13cbc861543f283147e
bpo-27643 - skip test_ctypes test case with XLC compiler. (GH-5164)

This test case needs "signed short" bitfields, but the
IBM XLC compiler (on AIX) does not support this.

Skip the code and test when AIX and XLC are used.

Use __xlc__ as identifier to detect the XLC compiler.
Lib/ctypes/test/test_bitfields.py
Misc/NEWS.d/next/Tests/2018-01-12-09-05-19.bpo-27643._6z49y.rst [new file with mode: 0644]
Modules/_ctypes/_ctypes_test.c