Skip to content

Commit fbb2668

Browse files
committed
Only test MSG_DONTWAIT on Linux
1 parent 45b28f6 commit fbb2668

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_socket.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7128,6 +7128,7 @@ def test_recv_fds_peek(self):
71287128
self._test_pipe(fds[0], wfd, MSG)
71297129

71307130
@requireAttrs(socket, "MSG_DONTWAIT")
7131+
@unittest.skipUnless(sys.platform in ('linux', 'android'), 'Linux specific test')
71317132
def test_send_fds_dontwait(self):
71327133
rfd, wfd = os.pipe()
71337134
self.addCleanup(os.close, rfd)

0 commit comments

Comments
 (0)