bpo-31904: Skip some asyncio tests on VxWorks (#23815)

This commit is contained in:
pxinwr 2020-12-17 18:04:47 +08:00 committed by GitHub
parent dcc997cd28
commit ba760f3710
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 1 deletions

View file

@ -1745,6 +1745,8 @@ class BaseEventLoopWithSelectorTests(test_utils.TestCase):
MyDatagramProto, allow_broadcast=True, sock=FakeSock())
self.assertRaises(ValueError, self.loop.run_until_complete, fut)
@unittest.skipIf(sys.platform == 'vxworks',
"SO_BROADCAST is enabled by default on VxWorks")
def test_create_datagram_endpoint_sockopts(self):
# Socket options should not be applied unless asked for.
# SO_REUSEPORT is not available on all platforms.