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: Duplicate test inside TestSingleDispatch
Type: Stage:
Components: Tests Versions: Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: lukasz.langa Nosy List: lukasz.langa, python-dev, vajrasky
Priority: normal Keywords: patch

Created on 2013-06-06 15:18 by vajrasky, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test_mro.diff vajrasky, 2013-06-07 05:58 review
Messages (4)
msg190717 - (view) Author: Vajrasky Kok (vajrasky) * Date: 2013-06-06 15:18
There is a duplicate test inside TestSingleDispatch in file Lib/test/test_functools.py.

The method test_mro and test_classic_classes are not different at all.
msg190735 - (view) Author: Vajrasky Kok (vajrasky) * Date: 2013-06-07 05:58
I think to test the mro case, we have to test the multiple inheritance with the same ancestor case.

Attached my guess of the correct test should be.
msg190775 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-06-07 20:26
New changeset a16bebe653b1 by Łukasz Langa in branch 'default':
Fixed #18150: duplicate test inside TestSingleDispatch
http://hg.python.org/cpython/rev/a16bebe653b1
msg190776 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2013-06-07 20:29
Good catch. Thanks for the patch, Vajrasky.
History
Date User Action Args
2022-04-11 14:57:46adminsetgithub: 62350
2013-06-07 20:29:01lukasz.langasetstatus: open -> closed
assignee: lukasz.langa
resolution: fixed
messages: + msg190776
2013-06-07 20:26:30python-devsetnosy: + python-dev
messages: + msg190775
2013-06-07 05:58:56vajraskysetfiles: + test_mro.diff

messages: + msg190735
2013-06-07 05:56:34vajraskysetfiles: - duplicate_test_for_testsingledispatch.diff
2013-06-06 15:18:12vajraskycreate