Serhiy Storchaka added the comment:

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

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27152>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to