Don't show indentation or comas in diff
The diff shows indent and coma diff, which useless.

just to make sure we're on the same page, you'd like to remove non-semantically relevant parts from diffs, is that right?
you're not saying that the test reported an assert equals failure on two objects that are actually the same? that would be very surprising.
i guess one solution would be to try and canonicalise the left and right hand sides. can you think of a way of doing that?
just to make sure we're on the same page, you'd like to remove non-semantically relevant parts from diffs, is that right?
yes, that's it. It does not make the test fail, but if the test fails those diff are reported.
gotcha. well i guess you'd need a way to "canonicalize" the whitespace and commas on both sides -- can you think of a way of doing that?
i guess you could do it manually in your tests, before the assert?