diff options
author | Michael Felt <aixtools@users.noreply.github.com> | 2018-12-26 03:34:37 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2018-12-26 03:34:37 (GMT) |
commit | 5661459f5f508ea4bd24c13cbc861543f283147e (patch) | |
tree | dd8b1ea21e03eb87d9d5b2f9dbbd90cb8293d79a /Misc/NEWS.d/next/Tests/2018-08-14-20-50-07.bpo-11192.g7TwYm.rst | |
parent | 56edf3a4b145d80684a9e4ba7411a6778d830140 (diff) | |
download | cpython-5661459f5f508ea4bd24c13cbc861543f283147e.zip cpython-5661459f5f508ea4bd24c13cbc861543f283147e.tar.gz cpython-5661459f5f508ea4bd24c13cbc861543f283147e.tar.bz2 |
bpo-11192: Skip unsupported cases in test_socket on AIX (GH-8954)
* use platform.system() as runtime test, rather than sys.platform() build-time test
* IPv6 zone id support on AIX is limited to inet_pton6_zone(), so skip related
getaddrinfo() and getnameinfo() tests as not supported
Diffstat (limited to 'Misc/NEWS.d/next/Tests/2018-08-14-20-50-07.bpo-11192.g7TwYm.rst')
-rw-r--r-- | Misc/NEWS.d/next/Tests/2018-08-14-20-50-07.bpo-11192.g7TwYm.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2018-08-14-20-50-07.bpo-11192.g7TwYm.rst b/Misc/NEWS.d/next/Tests/2018-08-14-20-50-07.bpo-11192.g7TwYm.rst new file mode 100644 index 0000000..2428cad --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2018-08-14-20-50-07.bpo-11192.g7TwYm.rst @@ -0,0 +1,4 @@ +Fix `test_socket` on AIX +AIX 6.1 and later IPv6 zone id supports only supported by inet_pton6_zone() +Switch to runtime-based platform.system() to establish current platform + rather than build-time based sys.platform() |