Message266682
Changes in tests are provided as a demonstration that these methods are useful. I propose to commit only the unittest part, and use new methods on a case-by-case basis. For example some tests already define methods like assertHasAttr or assertIsSubclass, They can now use standard methods.
assertEndsWith() can be used 73 times in 36 files. It produces more useful error report than assertTrue(a.endswith(b)). |
|
Date |
User |
Action |
Args |
2016-05-30 06:58:39 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, rbcollins, ezio.melotti, r.david.murray, michael.foord |
2016-05-30 06:58:39 | serhiy.storchaka | set | messageid: <1464591519.53.0.372530262918.issue27152@psf.upfronthosting.co.za> |
2016-05-30 06:58:39 | serhiy.storchaka | link | issue27152 messages |
2016-05-30 06:58:39 | serhiy.storchaka | create | |
|