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

Method setUp

Lib/test/test_logging.py:2216–2219  ·  view source on GitHub ↗

Create a dict to remember potentially destroyed objects.

(self)

Source from the content-addressed store, hash-verified

2214 """Test memory persistence of logger objects."""
2215
2216 def setUp(self):
2217 """Create a dict to remember potentially destroyed objects."""
2218 BaseTest.setUp(self)
2219 self._survivors = {}
2220
2221 def _watch_for_survival(self, *args):
2222 """Watch the given objects for survival, by creating weakrefs to

Callers

nothing calls this directly

Calls 1

setUpMethod · 0.45

Tested by

no test coverage detected