Message175953
| Author |
serhiy.storchaka |
| Recipients |
ezio.melotti, michael.foord, pitrou, serhiy.storchaka |
| Date |
2012年11月19日.10:43:33 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1353321858.76.0.504726837876.issue16510@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|