(self, logger)
| 882 | """ |
| 883 | |
| 884 | def __init__(self, logger): |
| 885 | self.logger = logger |
| 886 | self.io = StringIO() |
| 887 | self.sh = logging.StreamHandler(self.io) |
| 888 | self.out = "" |
| 889 | |
| 890 | def __enter__(self): |
| 891 | self.logger.addHandler(self.sh) |
nothing calls this directly
no outgoing calls
no test coverage detected