Create a dict to remember potentially destroyed objects.
(self)
| 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 |