summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/case.py
diff options
context:
space:
mode:
authorEzio Melotti <none@none>2011-04-03 14:37:58 (GMT)
committerEzio Melotti <none@none>2011-04-03 14:37:58 (GMT)
commit361467e5226af652fdf08bdfe5737f51eba594e4 (patch)
treefb5026cafae3b893dff3556e86586d837d1871f1 /Lib/unittest/case.py
parent9481e4174191e43fbb2bff4c670bb6c604e86ae2 (diff)
downloadcpython-361467e5226af652fdf08bdfe5737f51eba594e4.zip
cpython-361467e5226af652fdf08bdfe5737f51eba594e4.tar.gz
cpython-361467e5226af652fdf08bdfe5737f51eba594e4.tar.bz2
#11282: the fail* methods will stay around a few more versions.
Diffstat (limited to 'Lib/unittest/case.py')
-rw-r--r--Lib/unittest/case.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/unittest/case.py b/Lib/unittest/case.py
index 65af16b..01c5a7b 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)