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

Method setUp

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

Source from the content-addressed store, hash-verified

2133 server_class = TestUnixDatagramServer
2134
2135 def setUp(self):
2136 # override the definition in the base class
2137 self.address = socket_helper.create_unix_domain_name()
2138 self.addCleanup(os_helper.unlink, self.address)
2139 SysLogHandlerTest.setUp(self)
2140
2141@unittest.skipUnless(socket_helper.IPV6_ENABLED,
2142 'IPv6 support required for this test.')

Callers

nothing calls this directly

Calls 2

addCleanupMethod · 0.80
setUpMethod · 0.45

Tested by

no test coverage detected