]> git.ipfire.org Git - thirdparty/tornado.git/commit
test: More robust ipv6 detection 2187/head
authorBen Darnell <ben@bendarnell.com>
Sun, 5 Nov 2017 15:38:03 +0000 (10:38 -0500)
committerBen Darnell <ben@bendarnell.com>
Sun, 5 Nov 2017 15:38:03 +0000 (10:38 -0500)
commit33abbbd48332f4950a686fbb389e802e1853a6e3
treec1ede5071c5cdb9cdacafb71d55c5ab689e45bea
parentfab9550e8723adddc47e3fbd50e37da49a8a2afc
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