| Conditions | 2 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | import sys |
||
| 21 | def test_rstrip(self): |
||
| 22 | expected_results = ("hello\\", |
||
| 23 | "te\\st\\\\", |
||
| 24 | r"A\ ", |
||
| 25 | r"A\ ", |
||
| 26 | r" A \ \ ", |
||
| 27 | r" \ A \ ", |
||
| 28 | r" \\ A", |
||
| 29 | r" \\\\\ ", |
||
| 30 | " \\\\\\\\") |
||
| 31 | |||
| 32 | self.assertResultsEqual( |
||
| 33 | unescaped_rstrip, |
||
| 34 | {(test_string,): result |
||
| 35 | for test_string, result in zip(self.test_strings2, |
||
| 36 | expected_results)}) |
||
| 37 | |||
| 66 |