(self)
| 5484 | logging.root.handlers = [] |
| 5485 | |
| 5486 | def tearDown(self): |
| 5487 | for h in logging.root.handlers[:]: |
| 5488 | logging.root.removeHandler(h) |
| 5489 | h.close() |
| 5490 | super(BasicConfigTest, self).tearDown() |
| 5491 | |
| 5492 | def cleanup(self): |
| 5493 | setattr(logging.root, 'handlers', self.handlers) |
nothing calls this directly
no test coverage detected