mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00: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
2 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue