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

Method clientTearDown

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

Source from the content-addressed store, hash-verified

497 self.cli = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
498
499 def clientTearDown(self):
500 self.cli.close()
501 self.cli = None
502 ThreadableTest.clientTearDown(self)
503
504@unittest.skipUnless(HAVE_SOCKET_UDPLITE,
505 'UDPLITE sockets required for this test.')

Callers

nothing calls this directly

Calls 2

closeMethod · 0.45
clientTearDownMethod · 0.45

Tested by

no test coverage detected