| 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 | "A\\ ", |
||
| 25 | "A\\ ", |
||
| 26 | " A \\ \\ ", |
||
| 27 | " \\ A \\ ", |
||
| 28 | " \\\\ A", |
||
| 29 | " \\\\\\\\\\ ", |
||
| 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 | |||
| 65 |