Message124430
| Author |
michael.foord |
| Recipients |
MarkRoddy, ezio.melotti, georg.brandl, gregory.p.smith, michael.foord, rhettinger |
| Date |
2010年12月21日.12:43:03 |
| SpamBayes Score |
7.763375e-05 |
| Marked as misclassified |
No |
| Message-id |
<1292935385.43.0.38468922501.issue10242@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This is committed to 2.7 and 3.2 (using the old name assertItemsEqual in 2.7). As we're well into the beta cycle I don't think we can change the name in 3.2.
The current failure output is very nice for comparing sequences like [1, 2, 3] vs [1, 2, 4]:
AssertionError: Expected, but missing:
[4]
Unexpected, but present:
[3]
It is less good for sequences like [2, 2] vs [2, 2, 2]:
AssertionError: Expected, but missing:
[2] |
|