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: assertSameElements fails with sequences that contain unorderable types
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder: assertSameElements([0, 1, 1], [0, 0, 1]) does not fail
View: 7832
Assigned To: flox Nosy List: ezio.melotti, flox, michael.foord
Priority: normal Keywords: patch

Created on 2010-03-08 16:36 by ezio.melotti, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue8088_unordered_elements.diff flox, 2010-03-08 16:38 Patch, apply to 2.x
Messages (4)
msg100654 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2010-03-08 16:36
assertSameElements fails with sequences that contain unorderable types such as [2j, 5j, set(), frozenset()].

See also msg98744 in #7837.
msg100655 - (view) Author: Florent Xicluna (flox) * (Python committer) Date: 2010-03-08 16:39
Patch against trunk.
msg100666 - (view) Author: Florent Xicluna (flox) * (Python committer) Date: 2010-03-08 21:18
It could be fixed as part of #7832.
msg101431 - (view) Author: Michael Foord (michael.foord) * (Python committer) Date: 2010-03-21 16:53
Fixed as part of #7832.
History
Date User Action Args
2022-04-11 14:56:58adminsetgithub: 52335
2010-03-21 16:53:20michael.foordsetstatus: pending -> closed
resolution: accepted -> fixed
messages: + msg101431

stage: patch review -> resolved
2010-03-08 21:18:48floxsetstatus: open -> pending
2010-03-08 21:18:32floxsetsuperseder: assertSameElements([0, 1, 1], [0, 0, 1]) does not fail
messages: + msg100666
2010-03-08 16:39:26ezio.melottisetversions: - Python 3.1, Python 3.2
2010-03-08 16:39:11floxsetmessages: + msg100655
2010-03-08 16:38:39floxsetfiles: + issue8088_unordered_elements.diff
keywords: + patch
resolution: accepted
stage: needs patch -> patch review
2010-03-08 16:37:35ezio.melottisetcomponents: + Library (Lib)
versions: + Python 3.1, Python 2.7, Python 3.2
2010-03-08 16:36:40ezio.melotticreate