Message175953
The proposed patch upgrades tests to use specialized checks added in 3.1 and 3.2 (assertIsNone(x) instead assertTrue(x is None), assertLess(a, b) instead assertTrue(a < b), etc). This modern checks provide a more useful error message in case of a fail.
Replaced only those checks that are not related to the tested operators. For example, assertTrue(a < b) preserved if the operator "<" is tested. |
|
Date |
User |
Action |
Args |
2012-11-19 10:44:20 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, ezio.melotti, michael.foord |
2012-11-19 10:44:18 | serhiy.storchaka | set | messageid: <1353321858.76.0.504726837876.issue16510@psf.upfronthosting.co.za> |
2012-11-19 10:44:18 | serhiy.storchaka | link | issue16510 messages |
2012-11-19 10:44:17 | serhiy.storchaka | create | |
|