diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-10-20 00:09:08 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-10-20 00:09:08 (GMT) |
commit | c1b78419e6d8c6a4e1d0ae1ffd9cb0b2ad6d855c (patch) | |
tree | 3c525a4f77525dcb3adf6f00f75c290365a58948 | |
parent | 32e46850a1d113f4f2c3d3894396370d6c5cb112 (diff) | |
download | cpython-c1b78419e6d8c6a4e1d0ae1ffd9cb0b2ad6d855c.zip cpython-c1b78419e6d8c6a4e1d0ae1ffd9cb0b2ad6d855c.tar.gz cpython-c1b78419e6d8c6a4e1d0ae1ffd9cb0b2ad6d855c.tar.bz2 |
Backout e3ec6b17260c after Guido's fix
-rw-r--r-- | Lib/test/test_asyncio/test_events.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py index f0f4810..f17009f 100644 --- a/Lib/test/test_asyncio/test_events.py +++ b/Lib/test/test_asyncio/test_events.py @@ -17,7 +17,7 @@ import time import errno import unittest import unittest.mock -from test.support import find_unused_port, IPV6_ENABLED +from test.support import find_unused_port from asyncio import futures @@ -687,7 +687,7 @@ class EventLoopTestsMixin: server.close() - @unittest.skipUnless(IPV6_ENABLED, 'IPv6 not supported or enabled') + @unittest.skipUnless(socket.has_ipv6, 'IPv6 not supported') def test_create_server_dual_stack(self): f_proto = futures.Future(loop=self.loop) |