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

Method setUp

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

Source from the content-addressed store, hash-verified

2030 server_class = TestUnixDatagramServer
2031
2032 def setUp(self):
2033 # override the definition in the base class
2034 self.address = socket_helper.create_unix_domain_name()
2035 self.addCleanup(os_helper.unlink, self.address)
2036 DatagramHandlerTest.setUp(self)
2037
2038@support.requires_working_socket()
2039@threading_helper.requires_working_threading()

Callers

nothing calls this directly

Calls 2

addCleanupMethod · 0.80
setUpMethod · 0.45

Tested by

no test coverage detected