| Conditions | 2 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | import sys |
||
| 38 | def test_strip(self): |
||
| 39 | expected_results = ("hello\\", |
||
| 40 | "te\\st\\\\", |
||
| 41 | r"A\ ", |
||
| 42 | r"A\ ", |
||
| 43 | r"A \ \ ", |
||
| 44 | r"\ A \ ", |
||
| 45 | r"\\ A", |
||
| 46 | r"\\\\\ ", |
||
| 47 | "\\\\\\\\") |
||
| 48 | |||
| 49 | self.assertResultsEqual( |
||
| 50 | unescaped_strip, |
||
| 51 | {(test_string,): result |
||
| 52 | for test_string, result in zip(self.test_strings2, |
||
| 53 | expected_results)}) |
||
| 54 | |||
| 66 |