Message98726
| Author |
ezio.melotti |
| Recipients |
ezio.melotti, flox, michael.foord |
| Date |
2010年02月02日.10:32:53 |
| SpamBayes Score |
1.5816959e-11 |
| Marked as misclassified |
No |
| Message-id |
<1265106776.19.0.232903733304.issue7837@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
In assertSameElements ( Lib/unittest/case.py ) there's a filter for py3k warning that checks for warning about dict comparisons but not for comparisons of unequal types. If python is run with the -3 flag and a non-hashable sequence with elements of different types is passed to assertSameElements the warning is not silenced. There's also a third warning that might be raised if among the elements there's a builtin function or method.
Patch attached. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年02月02日 10:32:56 | ezio.melotti | set | recipients:
+ ezio.melotti, michael.foord, flox |
| 2010年02月02日 10:32:56 | ezio.melotti | set | messageid: <1265106776.19.0.232903733304.issue7837@psf.upfronthosting.co.za> |
| 2010年02月02日 10:32:54 | ezio.melotti | link | issue7837 messages |
| 2010年02月02日 10:32:53 | ezio.melotti | create |
|