(self, s, channel='stdout', suppress=True)
| 349 | def |
| 350 | """ |
| 351 | def __init__(self, s, channel='stdout', suppress=True): |
| 352 | self.s = s |
| 353 | if isinstance(self.s, (str, _re_type)): |
| 354 | self.s = [self.s] |
| 355 | self.channel = channel |
| 356 | self.suppress = suppress |
| 357 | |
| 358 | def __enter__(self): |
| 359 | self.orig_stream = getattr(sys, self.channel) |
nothing calls this directly
no outgoing calls
no test coverage detected