]> git.ipfire.org Git - thirdparty/tornado.git/commit
test: More robust ipv6 detection
authorBen Darnell <ben@bendarnell.com>
Sun, 5 Nov 2017 15:38:03 +0000 (10:38 -0500)
committerBen Darnell <ben@bendarnell.com>
Fri, 5 Jan 2018 14:04:44 +0000 (09:04 -0500)
commitb525e423c3d143f3e67dba26fea2f1103b9bb6d4
tree110ee11e02f54a73df9b3c8efad08ec6fc0e085e
parent84bb2e285e15415bb86cbdf2326b19f0debb80fd
test: More robust ipv6 detection

There are many ways ipv6 can be disabled or broken (and it just
stopped working on travis-ci), so instead of checking flags like
socket.has_ipv6, attempt to actually bind to an ipv6 address.

Closes #2185
tornado/test/simple_httpclient_test.py
tornado/test/util.py