← Back to team overview

testtools-dev team mailing list archive

[Bug 686790] Re: trailing newline added by MismatchesAll.describe can be ugly

 

** Changed in: testtools
       Status: Triaged => Fix Committed

-- 
You received this bug notification because you are a member of testtools
developers, which is subscribed to testtools.
https://bugs.launchpad.net/bugs/686790

Title:
  trailing newline added by MismatchesAll.describe can be ugly

Status in testtools:
  Fix Committed

Bug description:
  If you wrap an Annotate around something that can return a mismatchesall object, you end up with stuff that looks like this:

Difference: Differences: [
1 != 3
]
: There was 1 mismatch

This is ugly.  I don't really see when the trailing newline is a good thing, so maybe it can just be removed?





References