Convert string to hex-escaped ASCII string.
(self, s)
| 1696 | returns a string describing the differences between two outputs. |
| 1697 | """ |
| 1698 | def _toAscii(self, s): |
| 1699 | """ |
| 1700 | Convert string to hex-escaped ASCII string. |
| 1701 | """ |
| 1702 | return str(s.encode('ASCII', 'backslashreplace'), "ASCII") |
| 1703 | |
| 1704 | def check_output(self, want, got, optionflags): |
| 1705 | """ |
no test coverage detected