(self)
| 6580 | "SOCK_CLOEXEC not defined") |
| 6581 | @support.requires_linux_version(2, 6, 28) |
| 6582 | def test_SOCK_CLOEXEC(self): |
| 6583 | with socket.socket(socket.AF_INET, |
| 6584 | socket.SOCK_STREAM | socket.SOCK_CLOEXEC) as s: |
| 6585 | self.assertEqual(s.type, socket.SOCK_STREAM) |
| 6586 | self.assertFalse(s.get_inheritable()) |
| 6587 | |
| 6588 | def test_default_inheritable(self): |
| 6589 | sock = socket.socket() |
nothing calls this directly
no test coverage detected