summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-01-19 04:24:57 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-01-19 04:24:57 (GMT)
commitc1dfa2e7c338084cc87654613597e6a9b575f34d (patch)
tree0218b3093b4f5092ed23a75ec54b8870b9131955 /Doc/whatsnew
parent4bea978f655e0be16d5a07611b86f3fef01acae2 (diff)
downloadcpython-c1dfa2e7c338084cc87654613597e6a9b575f34d.zip
cpython-c1dfa2e7c338084cc87654613597e6a9b575f34d.tar.gz
cpython-c1dfa2e7c338084cc87654613597e6a9b575f34d.tar.bz2
Improve looks by replacing a bullet list with a table.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.2.rst16
1 files changed, 10 insertions, 6 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst
index 5b9bf4d..89d3a91 100644
--- a/Doc/whatsnew/3.2.rst
+++ b/Doc/whatsnew/3.2.rst
@@ -1303,14 +1303,18 @@ names.
* To improve consistency, some long-standing method aliases are being
deprecated in favor of the preferred names:
- - replace :meth:`assert_` with :meth:`.assertTrue`
- - replace :meth:`assertEquals` with :meth:`.assertEqual`
- - replace :meth:`assertNotEquals` with :meth:`.assertNotEqual`
- - replace :meth:`assertAlmostEquals` with :meth:`.assertAlmostEqual`
- - replace :meth:`assertNotAlmostEquals` with :meth:`.assertNotAlmostEqual`
+ =============================== ==============================
+ Old Name Preferred Name
+ =============================== ==============================
+ :meth:`assert_` :meth:`.assertTrue`
+ :meth:`assertEquals` :meth:`.assertEqual`
+ :meth:`assertNotEquals` :meth:`.assertNotEqual`
+ :meth:`assertAlmostEquals` :meth:`.assertAlmostEqual`
+ :meth:`assertNotAlmostEquals` :meth:`.assertNotAlmostEqual`
+ =============================== ==============================
Likewise, the ``TestCase.fail*`` methods deprecated in Python 3.1 are expected
- to be removed in Python 3.3. See also the :ref:`deprecated-aliases` section in
+ to be removed in Python 3.3. Also see the :ref:`deprecated-aliases` section in
the :mod:`unittest` documentation.
(Contributed by Ezio Melotti; :issue:`9424`.)