#11282: merge with 3.2.

This commit is contained in:
Ezio Melotti 2011-04-03 17:39:19 +03:00
commit b7af620747
3 changed files with 4 additions and 7 deletions

View file

@ -1110,8 +1110,7 @@ class TestCase(object):
return original_func(*args, **kwargs)
return deprecated_func
# The fail* methods can be removed in 3.3, the 5 assert* methods will
# have to stay around for a few more versions. See #9424.
# see #9424
assertEquals = _deprecate(assertEqual)
assertNotEquals = _deprecate(assertNotEqual)
assertAlmostEquals = _deprecate(assertAlmostEqual)