Un-backout e3ec6b17260c - the test fix was actually also necessary

This commit is contained in:
Antoine Pitrou 2013-10-20 02:16:40 +02:00
parent c1b78419e6
commit 92945c574b
1 changed files with 2 additions and 2 deletions

View File

@ -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)