8000 Update asyncio from CPython 3.9 by youknowone · Pull Request #5277 · RustPython/RustPython · GitHub
[go: up one dir, main page]

Skip to content

Update asyncio from CPython 3.9 #5277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
hide flaky test_socket in macos
  • Loading branch information
youknowone committed Apr 25, 2024
commit e552efd29c1d195a365084f3733b2b38f8d8fe32
4 changes: 1 addition & 3 deletions Lib/test/test_socket.py
Original file line number Diff line number Diff line change
Expand Up @@ -2881,7 +2881,6 @@ def _testSendmsgAncillaryGenerator(self):
self.assertEqual(self.sendmsgToServer([MSG], (o for o in [])),
len(MSG))

@unittest.skipIf(sys.platform == "darwin", "flaky on macOS")
def testSendmsgArray(self):
# Send data from an array instead of the usual bytes object.
self.assertEqual(self.serv_sock.recv(len(MSG)), MSG)
Expand All @@ -2890,7 +2889,6 @@ def _testSendmsgArray(self):
self.assertEqual(self.sendmsgToServer([array.array("B", MSG)]),
len(MSG))

@unittest.skipIf(sys.platform == "darwin", "flaky on macOS")
def testSendmsgGather(self):
# Send message data from more than one buffer (gather write).
self.assertEqual(self.serv_sock.recv(len(MSG)), MSG)
Expand Down Expand Up @@ -2953,7 +2951,6 @@ def _testSendmsgBadMultiCmsg(self):
[MSG], [(0, 0, b""), object()])
self.sendToServer(b"done")

@unittest.skipIf(sys.platform == "darwin", "flaky on macOS")
def testSendmsgExcessCmsgReject(self):
# Check that sendmsg() rejects excess ancillary data items
# when the number that can be sent is limited.
Expand Down Expand Up @@ -4413,6 +4410,7 @@ class SendrecvmsgUnixStreamTestBase(SendrecvmsgConnectedBase,
ConnectedStreamTestMixin, UnixStreamBase):
pass

@unittest.skipIf(sys.platform == "darwin", "flaky on macOS")
@requireAttrs(socket.socket, "sendmsg")
@requireAttrs(socket, "AF_UNIX")
class SendmsgUnixStreamTest(SendmsgStreamTests, SendrecvmsgUnixStreamTestBase):
Expand Down
0