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

Method setUp

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

Source from the content-addressed store, hash-verified

1950 server_class = TestUnixStreamServer
1951
1952 def setUp(self):
1953 # override the definition in the base class
1954 self.address = socket_helper.create_unix_domain_name()
1955 self.addCleanup(os_helper.unlink, self.address)
1956 SocketHandlerTest.setUp(self)
1957
1958@support.requires_working_socket()
1959@threading_helper.requires_working_threading()

Callers

nothing calls this directly

Calls 2

addCleanupMethod · 0.80
setUpMethod · 0.45

Tested by

no test coverage detected