Author serhiy.storchaka
Recipients ezio.melotti, michael.foord, r.david.murray, rbcollins, rhettinger, serhiy.storchaka
Date 2016-05-30.06:58:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464591519.53.0.372530262918.issue27152@psf.upfronthosting.co.za>
In-reply-to
Content
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)).
History
Date User Action Args
2016-05-30 06:58:39serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, rbcollins, ezio.melotti, r.david.murray, michael.foord
2016-05-30 06:58:39serhiy.storchakasetmessageid: <1464591519.53.0.372530262918.issue27152@psf.upfronthosting.co.za>
2016-05-30 06:58:39serhiy.storchakalinkissue27152 messages
2016-05-30 06:58:39serhiy.storchakacreate