File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1459,7 +1459,7 @@ along with their deprecated aliases:
14591459 :meth: `.assertRaisesRegex ` assertRaisesRegexp
14601460 ============================== ====================== ======================
14611461
1462- .. deprecated-removed :: 3.1 3.3
1462+ .. deprecated :: 3.1
14631463 the fail* aliases listed in the second column.
14641464 .. deprecated :: 3.2
14651465 the assert* aliases listed in the third column.
Original file line number Diff line number Diff line change @@ -1181,8 +1181,7 @@ def deprecated_func(*args, **kwargs):
11811181 return original_func (* args , ** kwargs )
11821182 return deprecated_func
11831183
1184- # The fail* methods can be removed in 3.3, the 5 assert* methods will
1185- # have to stay around for a few more versions. See #9424.
1184+ # see #9424
11861185 failUnlessEqual = assertEquals = _deprecate (assertEqual )
11871186 failIfEqual = assertNotEquals = _deprecate (assertNotEqual )
11881187 failUnlessAlmostEqual = assertAlmostEquals = _deprecate (assertAlmostEqual )
Original file line number Diff line number Diff line change @@ -1088,10 +1088,8 @@ def _runtime_warn(msg):
10881088 _runtime_warn ("barz" )
10891089
10901090 def testDeprecatedMethodNames (self ):
1091- """Test that the deprecated methods raise a DeprecationWarning.
1092-
1093- The fail* methods will be removed in 3.3. The assert* methods will
1094- have to stay around for a few more versions. See #9424.
1091+ """
1092+ Test that the deprecated methods raise a DeprecationWarning. See #9424.
10951093 """
10961094 old = (
10971095 (self .failIfEqual , (3 , 5 )),
You can’t perform that action at this time.
0 commit comments