Create a dict to remember potentially destroyed objects.
(self)
| 2240 | """Test memory persistence of logger objects.""" |
| 2241 | |
| 2242 | def setUp(self): |
| 2243 | """Create a dict to remember potentially destroyed objects.""" |
| 2244 | BaseTest.setUp(self) |
| 2245 | self._survivors = {} |
| 2246 | |
| 2247 | def _watch_for_survival(self, *args): |
| 2248 | """Watch the given objects for survival, by creating weakrefs to |