Ezio Melotti <ezio.melo...@gmail.com> added the comment:

If you are talking about assertNotEquals, assertAlmostEquals, and 
assertAlmostNotEquals they should go as well (I didn't even know they existed). 
assert_ is probably used more often, but I'd deprecate it too.
Note that in the 2.7 and 3.2 doc assert_ is already marked as deprecated, and 
the other methods are not documented.

The plan is:
 1) replace all the occurrences of assertEquals, assertNotEquals, 
assertAlmostEquals, assertAlmostNotEquals, assert_ in the Python test suite 
with assertEqual, assertNotEqual, assertAlmostEqual, assertAlmostNotEqual, 
assertTrue;
 2) deprecate assertEquals, assertNotEquals, assertAlmostEquals, 
assertAlmostNotEquals, assert_;
 3) patch regrtest.py to raise an error when these methods are used, in order 
to avoid that they sneak in again in the Python test suite.

----------
stage:  -> needs patch

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

Reply via email to