From 361467e5226af652fdf08bdfe5737f51eba594e4 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Sun, 3 Apr 2011 17:37:58 +0300 Subject: #11282: the fail* methods will stay around a few more versions. --- Lib/unittest/case.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Lib/unittest/case.py') diff --git a/Lib/unittest/case.py b/Lib/unittest/case.py index 65af16bbca..01c5a7bc2f 100644 --- a/Lib/unittest/case.py +++ b/Lib/unittest/case.py @@ -1181,8 +1181,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 failUnlessEqual = assertEquals = _deprecate(assertEqual) failIfEqual = assertNotEquals = _deprecate(assertNotEqual) failUnlessAlmostEqual = assertAlmostEquals = _deprecate(assertAlmostEqual) -- cgit v1.2.1