~testtools-dev/testtools/trunk

« back to all changes in this revision

Viewing changes to testtools/matchers.py

  • Committer: Jonathan Lange
  • Date: 2011-10-30 20:28:07 UTC
  • mfrom: (230.1.1 align-equals-879339)
  • Revision ID: jml@canonical.com-20111030202807-uyxi7rhzcrdk6vmj
Merge align-equals-879339

Show diffs side-by-side

added added

removed removed

Lines of Context:
378
378
        left = repr(self.expected)
379
379
        right = repr(self.other)
380
380
        if len(left) + len(right) > 70:
381
 
            return "%s:\nreference = %s\nactual = %s\n" % (
 
381
            return "%s:\nreference = %s\nactual    = %s\n" % (
382
382
                self._mismatch_string, self._format(self.expected),
383
383
                self._format(self.other))
384
384
        else: