Message169372
| Author |
flox |
| Recipients |
flox |
| Date |
2012年08月29日.13:18:18 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1346246299.41.0.924919509525.issue15810@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
When writing unittest, I noticed that I need to uses assertSequenceEqual explicitly when comparing sequences of different kinds.
If I only use the plain assertEqual, it does not generate pretty diffs.
On second thought, I think it could be fixed in unittest to use assertSequenceEqual when isinstance(arg, (tuple, list)) or isinstance(arg, collections.Sequence) is True. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年08月29日 13:18:19 | flox | set | recipients:
+ flox |
| 2012年08月29日 13:18:19 | flox | set | messageid: <1346246299.41.0.924919509525.issue15810@psf.upfronthosting.co.za> |
| 2012年08月29日 13:18:18 | flox | link | issue15810 messages |
| 2012年08月29日 13:18:18 | flox | create |
|