This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: In unittest.TestCase.assertAlmostEqual doc specify the delta description
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.3, Python 3.4, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ezio.melotti Nosy List: docs@python, ezio.melotti, py.user, python-dev
Priority: normal Keywords: patch

Created on 2013-08-05 17:53 by py.user, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue18663.diff py.user, 2013-08-05 17:53 review
Messages (3)
msg194498 - (view) Author: py.user (py.user) * Date: 2013-08-05 17:53
http://docs.python.org/3/library/unittest.html#unittest.TestCase.assertAlmostEqual
"If delta is supplied instead of places then the difference between first and second must be less (or more) than delta."
msg194882 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-08-11 10:07
New changeset e0f86c3b3685 by Ezio Melotti in branch '3.3':
#18663: document that assertAlmostEqual also works when the values are equal and add tests.
http://hg.python.org/cpython/rev/e0f86c3b3685

New changeset eeda59e08c83 by Ezio Melotti in branch 'default':
#18663: merge with 3.3.
http://hg.python.org/cpython/rev/eeda59e08c83

New changeset 9ddc63c039ba by Ezio Melotti in branch '2.7':
#18663: document that assertAlmostEqual also works when the values are equal and add tests.
http://hg.python.org/cpython/rev/9ddc63c039ba
msg194883 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2013-08-11 10:07
Fixed, thanks for the report and the patch!
History
Date User Action Args
2022-04-11 14:57:49adminsetgithub: 62863
2013-08-11 10:07:53ezio.melottisetstatus: open -> closed

assignee: docs@python -> ezio.melotti
versions: + Python 2.7, Python 3.3
nosy: + ezio.melotti

messages: + msg194883
resolution: fixed
stage: resolved
2013-08-11 10:07:04python-devsetnosy: + python-dev
messages: + msg194882
2013-08-05 17:53:10py.usercreate