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

Method server_close

Lib/test/test_logging.py:1114–1116  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1112 self.port = self.socket.getsockname()[1]
1113
1114 def server_close(self):
1115 super(TestUDPServer, self).server_close()
1116 self._closed = True
1117
1118if hasattr(socket, "AF_UNIX"):
1119 class TestUnixStreamServer(TestTCPServer):

Callers 15

serve_until_stoppedMethod · 0.45
make_serverFunction · 0.45
tearDownMethod · 0.45
run_serverMethod · 0.45
test_shutdownMethod · 0.45
__init__Method · 0.45
test_threads_reapedMethod · 0.45
handle_errorMethod · 0.45
_cleanupMethod · 0.45

Calls 1

superClass · 0.85

Tested by

no test coverage detected