summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorxdegaye <xdegaye@gmail.com>2019-11-20 20:02:07 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-11-20 20:02:07 (GMT)
commit559bad1a70ed50cc9caa7cb303b6ac1fe6a34af3 (patch)
tree5ce78c3aaea7dc0ae095be6d4facca5f34b3884b /Lib
parentb93f31fcd9f10b213c614d4944baf9ca2df2016c (diff)
downloadcpython-559bad1a70ed50cc9caa7cb303b6ac1fe6a34af3.zip
cpython-559bad1a70ed50cc9caa7cb303b6ac1fe6a34af3.tar.gz
cpython-559bad1a70ed50cc9caa7cb303b6ac1fe6a34af3.tar.bz2
bpo-38841: Skip asyncio test_create_datagram_endpoint_existing_sock_unix (GH-17294)
on platforms lacking a functional bind() for named unix domain sockets https://bugs.python.org/issue38841 Automerge-Triggered-By: @asvetlov
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_asyncio/test_base_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_base_events.py b/Lib/test/test_asyncio/test_base_events.py
index 66191d9..ca99d5c 100644
--- a/Lib/test/test_asyncio/test_base_events.py
+++ b/Lib/test/test_asyncio/test_base_events.py
@@ -1700,7 +1700,7 @@ class BaseEventLoopWithSelectorTests(test_utils.TestCase):
self.loop.run_until_complete(protocol.done)
self.assertEqual('CLOSED', protocol.state)
- @unittest.skipUnless(hasattr(socket, 'AF_UNIX'), 'No UNIX Sockets')
+ @support.skip_unless_bind_unix_socket
def test_create_datagram_endpoint_existing_sock_unix(self):
with test_utils.unix_socket_path() as path:
sock = socket.socket(socket.AF_UNIX, type=socket.SOCK_DGRAM)