Convert string to hex-escaped ASCII string.
(self, s)
| 1723 | returns a string describing the differences between two outputs. |
| 1724 | """ |
| 1725 | def _toAscii(self, s): |
| 1726 | """ |
| 1727 | Convert string to hex-escaped ASCII string. |
| 1728 | """ |
| 1729 | return str(s.encode('ASCII', 'backslashreplace'), "ASCII") |
| 1730 | |
| 1731 | def check_output(self, want, got, optionflags): |
| 1732 | """ |
no test coverage detected