File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1303,14 +1303,18 @@ names.
13031303* To improve consistency, some long-standing method aliases are being
13041304 deprecated in favor of the preferred names:
13051305
1306- - replace :meth: `assert_ ` with :meth: `.assertTrue `
1307- - replace :meth: `assertEquals ` with :meth: `.assertEqual `
1308- - replace :meth: `assertNotEquals ` with :meth: `.assertNotEqual `
1309- - replace :meth: `assertAlmostEquals ` with :meth: `.assertAlmostEqual `
1310- - replace :meth: `assertNotAlmostEquals ` with :meth: `.assertNotAlmostEqual `
1306+ =============================== ==============================
1307+ Old Name Preferred Name
1308+ =============================== ==============================
1309+ :meth: `assert_ ` :meth: `.assertTrue `
1310+ :meth: `assertEquals ` :meth: `.assertEqual `
1311+ :meth: `assertNotEquals ` :meth: `.assertNotEqual `
1312+ :meth: `assertAlmostEquals ` :meth: `.assertAlmostEqual `
1313+ :meth: `assertNotAlmostEquals ` :meth: `.assertNotAlmostEqual `
1314+ =============================== ==============================
13111315
13121316 Likewise, the ``TestCase.fail* `` methods deprecated in Python 3.1 are expected
1313- to be removed in Python 3.3. See also the :ref: `deprecated-aliases ` section in
1317+ to be removed in Python 3.3. Also see the :ref: `deprecated-aliases ` section in
13141318 the :mod: `unittest ` documentation.
13151319
13161320 (Contributed by Ezio Melotti; :issue: `9424 `.)
You can’t perform that action at this time.
0 commit comments