(self)
| 115 | ) |
| 116 | |
| 117 | def is_alive(self) -> bool: |
| 118 | self.poll() |
| 119 | |
| 120 | if self.started and not self.ended: |
| 121 | return True |
| 122 | |
| 123 | return False |
| 124 | |
| 125 | def write(self, data: bytes, line_ending: bool = True) -> int: |
| 126 | assert isinstance(data, bytes) # TODO: Maybe we can support str as well and encode it |
no test coverage detected