Return an error message indicating that the encoding of stdin failed.
()
| 598 | ) |
| 599 | |
| 600 | def get_encode_err(): |
| 601 | """ Return an error message indicating that the encoding of stdin |
| 602 | failed. |
| 603 | """ |
| 604 | return "Could not encode stdin {!s} for the command {!s} with the"\ |
| 605 | " following encodings: {!s}"\ |
| 606 | .format(stdin, command, ','.join(self.encodings)) |
| 607 | |
| 608 | # Prepare stdin: try to encode it or keep it at None if it was not |
| 609 | # provided |
nothing calls this directly
no outgoing calls
no test coverage detected