MCPcopy Index your code
hub / github.com/python/cpython / test_default_inheritable

Method test_default_inheritable

Lib/test/test_socket.py:6588–6591  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6586 self.assertFalse(s.get_inheritable())
6587
6588 def test_default_inheritable(self):
6589 sock = socket.socket()
6590 with sock:
6591 self.assertEqual(sock.get_inheritable(), False)
6592
6593 def test_dup(self):
6594 sock = socket.socket()

Callers

nothing calls this directly

Calls 3

socketMethod · 0.80
assertEqualMethod · 0.45
get_inheritableMethod · 0.45

Tested by

no test coverage detected