summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-11 10:04:50 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-11 10:04:50 (GMT)
commitd51914c6c1009efaa898824170e2702541d80009 (patch)
treedac8380e59533a5495de0683c0b7e900d9a2e1bf /Doc
parent7608b607b1b40353a01da15ff6b2240539446a09 (diff)
downloadcpython-d51914c6c1009efaa898824170e2702541d80009.zip
cpython-d51914c6c1009efaa898824170e2702541d80009.tar.gz
cpython-d51914c6c1009efaa898824170e2702541d80009.tar.bz2
#18663: document that assertAlmostEqual also works when the values are equal and add tests.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/unittest.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index 845bf0a..0c00a26 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -1000,7 +1000,7 @@ Test cases
like the :func:`round` function) and not *significant digits*.
If *delta* is supplied instead of *places* then the difference
- between *first* and *second* must be less (or more) than *delta*.
+ between *first* and *second* must be less or equal to (or greater than) *delta*.
Supplying both *delta* and *places* raises a ``TypeError``.