diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-10-20 00:16:40 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-10-20 00:16:40 (GMT) |
commit | 92945c574b1bf24385e6d582c5e1e35508d17125 (patch) | |
tree | 0b9c72542077813ad8e5488f931896084f3e7798 /Lib/test/test_asyncio/test_events.py | |
parent | c1b78419e6d8c6a4e1d0ae1ffd9cb0b2ad6d855c (diff) | |
download | cpython-92945c574b1bf24385e6d582c5e1e35508d17125.zip cpython-92945c574b1bf24385e6d582c5e1e35508d17125.tar.gz cpython-92945c574b1bf24385e6d582c5e1e35508d17125.tar.bz2 |
Un-backout e3ec6b17260c - the test fix was actually also necessary
Diffstat (limited to 'Lib/test/test_asyncio/test_events.py')
-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 f17009f..f0f4810 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 +from test.support import find_unused_port, IPV6_ENABLED from asyncio import futures @@ -687,7 +687,7 @@ class EventLoopTestsMixin: server.close() - @unittest.skipUnless(socket.has_ipv6, 'IPv6 not supported') + @unittest.skipUnless(IPV6_ENABLED, 'IPv6 not supported or enabled') def test_create_server_dual_stack(self): f_proto = futures.Future(loop=self.loop) |