Message98726
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. |
|
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 | |
|