def assertMultiLineEqual(self, first, second, msg=None):
self.assertTrue(isinstance(first, str), (<EOL>'<STR_LIT>'))<EOL>self.assertTrue(isinstance(second, str), (<EOL>'<STR_LIT>'))<EOL>if first != second:<EOL><INDENT>standardMsg = '<STR_LIT>' % (safe_repr(first, True), safe_repr(second, True))<EOL>diff = '<STR_LIT:\n>' + '<STR_LIT>'.join(difflib.ndiff(first.splitlines(True),<EOL>second.splitlines(True)))<EOL>standardMsg = self._truncateMessage(standardMsg, diff)<EOL>self.fail(self._formatMessage(msg, standardMsg))<EOL><DEDENT>
Assert that two multi-line strings are equal.