(self, text1, text2, msg=None,
fromfile='expected', tofile='actual')
| 1101 | # Tests that the given two multiline text content are identical, modulo line |
| 1102 | # ending differences (\r\n on Windows, \n on Unix). |
| 1103 | def assertTextDataIdentical(self, text1, text2, msg=None, |
| 1104 | fromfile='expected', tofile='actual'): |
| 1105 | text1 = text1.replace('\r\n', '\n') |
| 1106 | text2 = text2.replace('\r\n', '\n') |
| 1107 | return self.assertIdentical(text1, text2, msg, fromfile, tofile) |
| 1108 | |
| 1109 | def assertIdentical(self, values, y, msg=None, |
| 1110 | fromfile='expected', tofile='actual'): |