Home | History | Annotate | Download | only in test

Lines Matching refs:SOCK_CLOEXEC

1304         if hasattr(socket, 'SOCK_CLOEXEC'):
1306 (socket.SOCK_STREAM | socket.SOCK_CLOEXEC,
1673 SOCK_CLOEXEC = getattr(socket, 'SOCK_CLOEXEC', 0)
1674 sock_type = socket.SOCK_STREAM | SOCK_NONBLOCK | SOCK_CLOEXEC
1704 if name not in {'SOCK_NONBLOCK', 'SOCK_CLOEXEC'}
5271 @unittest.skipUnless(hasattr(socket, "SOCK_CLOEXEC"),
5272 "SOCK_CLOEXEC not defined")
5276 socket.SOCK_STREAM | socket.SOCK_CLOEXEC) as s: