summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-10-20 19:45:29 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-10-20 19:45:29 (GMT)
commit7d618004895729c16e13924f0db263dc572ac021 (patch)
tree8aeba3ba673eea525c05e8329b8b329165b72b34 /Lib/test/test_asyncio
parentcb1fe98f767676ebe8964345d9872325f19f9164 (diff)
downloadcpython-7d618004895729c16e13924f0db263dc572ac021.zip
cpython-7d618004895729c16e13924f0db263dc572ac021.tar.gz
cpython-7d618004895729c16e13924f0db263dc572ac021.tar.bz2
Skip one asyncio test when IPv6 isn't supported (Windows buildbots)
Diffstat (limited to 'Lib/test/test_asyncio')
-rw-r--r--Lib/test/test_asyncio/test_base_events.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_base_events.py b/Lib/test/test_asyncio/test_base_events.py
index fd48fdd..9f36896 100644
--- a/Lib/test/test_asyncio/test_base_events.py
+++ b/Lib/test/test_asyncio/test_base_events.py
@@ -5,6 +5,7 @@ import socket
import time
import unittest
import unittest.mock
+from test.support import find_unused_port, IPV6_ENABLED
from asyncio import base_events
from asyncio import events
@@ -533,6 +534,7 @@ class BaseEventLoopWithSelectorTests(unittest.TestCase):
self.assertRaises(
OSError, self.loop.run_until_complete, coro)
+ @unittest.skipUnless(IPV6_ENABLED, 'IPv6 not supported or enabled')
def test_create_datagram_endpoint_no_matching_family(self):
coro = self.loop.create_datagram_endpoint(
protocols.DatagramProtocol,