Message120370
| Author |
r.david.murray |
| Recipients |
brett.cannon, ezio.melotti, michael.foord, pitrou, r.david.murray, rhettinger |
| Date |
2010年11月04日.01:54:30 |
| SpamBayes Score |
0.00044271437 |
| Marked as misclassified |
No |
| Message-id |
<1288835672.78.0.243686420434.issue10273@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
assertCountsEqual is IMO much clearer than assertItemsCountsEqual (or however you spell it). I was unclear on what the latter did, but the former is fairly clear. Ezio's suggestion is also clearer.
Raymond, since you said 'never' your statement about assertLessEqual is clearly false :). I don't have any problem remembering it (it's just __le__ spelled out using the standard unittest camelcase). assertLess, on the other hand, I often get wrong, since it is *not* __lt__ spelled out. |
|