mirror of
https://github.com/python/cpython.git
synced 2024-11-24 10:24:35 +08:00
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
This commit is contained in:
parent
b93f31fcd9
commit
559bad1a70
@ -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)
|
||||
|
@ -0,0 +1,2 @@
|
||||
Skip asyncio test_create_datagram_endpoint_existing_sock_unix on platforms
|
||||
lacking a functional bind() for named unix domain sockets.
|
Loading…
Reference in New Issue
Block a user