/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-09-10 08:43:52 UTC
  • mfrom: (4683.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090910084352-dnlxfwi1ovyjfe0e
(vila) Fix assertEqualDiff messages

Show diffs side-by-side

added added

removed removed

Lines of Context:
982
982
            return
983
983
        if message is None:
984
984
            message = "texts not equal:\n"
 
985
        if a + '\n' == b:
 
986
            message = 'first string is missing a final newline.\n'
985
987
        if a == b + '\n':
986
 
            message = 'first string is missing a final newline.\n'
987
 
        if a + '\n' == b:
988
988
            message = 'second string is missing a final newline.\n'
989
989
        raise AssertionError(message +
990
990
                             self._ndiff_strings(a, b))