(self)
| 5394 | logging.root.handlers = [] |
| 5395 | |
| 5396 | def tearDown(self): |
| 5397 | for h in logging.root.handlers[:]: |
| 5398 | logging.root.removeHandler(h) |
| 5399 | h.close() |
| 5400 | super(BasicConfigTest, self).tearDown() |
| 5401 | |
| 5402 | def cleanup(self): |
| 5403 | setattr(logging.root, 'handlers', self.handlers) |
nothing calls this directly
no test coverage detected