Issue 18663: In unittest.TestCase.assertAlmostEqual doc specify the delta description (original) (raw)
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/62863
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) ![]() |
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) * ![]() |
Date: 2013-08-11 10:07 |
Fixed, thanks for the report and the patch! |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:57:49 | admin | set | github: 62863 |
2013-08-11 10:07:53 | ezio.melotti | set | status: open -> closedassignee: docs@python -> ezio.melottiversions: + Python 2.7, Python 3.3nosy: + ezio.melottimessages: + resolution: fixedstage: resolved |
2013-08-11 10:07:04 | python-dev | set | nosy: + python-devmessages: + |
2013-08-05 17:53:10 | py.user | create |