]> granicus.if.org Git - python/commit
Rename the actual method definitions to the official assertFoo names.
authorGregory P. Smith <greg@mad-scientist.com>
Tue, 31 Mar 2009 19:03:28 +0000 (19:03 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Tue, 31 Mar 2009 19:03:28 +0000 (19:03 +0000)
commit7558d57ad2699bc0092954df052079e5f158d3f0
tree501fc6d29f2a97ef2f0160f1ac5fe9a23a35e6a7
parent6eabc24416d1ace6ea4d86793f0bc10f5e274955
Rename the actual method definitions to the official assertFoo names.

Adds unittests to make sure the old fail* names continue to work now
and adds a comment that they are pending deprecation.

Also adds a test to confirm that the plural Equals method variants
continue to exist even though we're unlikely to deprecate those.

http://bugs.python.org/issue2578
Lib/test/test_unittest.py
Lib/unittest.py