MCPcopy Index your code
hub / github.com/RustPython/RustPython / setUp

Method setUp

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

Source from the content-addressed store, hash-verified

2016 server_class = TestUnixDatagramServer
2017
2018 def setUp(self):
2019 # override the definition in the base class
2020 self.address = socket_helper.create_unix_domain_name()
2021 self.addCleanup(os_helper.unlink, self.address)
2022 DatagramHandlerTest.setUp(self)
2023
2024@support.requires_working_socket()
2025@threading_helper.requires_working_threading()

Callers

nothing calls this directly

Calls 2

addCleanupMethod · 0.80
setUpMethod · 0.45

Tested by

no test coverage detected