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

Method tearDown

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

Source from the content-addressed store, hash-verified

5312 super().setUp()
5313
5314 def tearDown(self):
5315 super().tearDown()
5316 if self._orig_sp is not None:
5317 # Restore the default socket.socketpair definition.
5318 socket.socketpair = self._orig_sp
5319
5320 def test_recv(self):
5321 msg = self.serv.recv(1024)

Callers

nothing calls this directly

Calls 2

superClass · 0.85
tearDownMethod · 0.45

Tested by

no test coverage detected