MCPcopy Index your code
hub / github.com/RustPython/RustPython / clientTearDown

Method clientTearDown

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

Source from the content-addressed store, hash-verified

495 self.cli = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
496
497 def clientTearDown(self):
498 self.cli.close()
499 self.cli = None
500 ThreadableTest.clientTearDown(self)
501
502@unittest.skipUnless(HAVE_SOCKET_UDPLITE,
503 '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