(self, value)
| 46 | errors='replace') |
| 47 | |
| 48 | def write_to_input(self, value): |
| 49 | if self.is_finished(): |
| 50 | return |
| 51 | |
| 52 | input_value = value |
| 53 | if not value.endswith("\n"): |
| 54 | input_value += "\n" |
| 55 | |
| 56 | self._write_script_output(input_value) |
| 57 | |
| 58 | self.process.stdin.write(input_value) |
| 59 | self.process.stdin.flush() |
| 60 | |
| 61 | def wait_finish(self): |
| 62 | self.process.wait() |
nothing calls this directly
no test coverage detected