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: test_pprint relies on set/dictionary repr() ordering
Type: Stage: resolved
Components: Tests Versions: Python 3.10, Python 3.9, Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: Mark.Shannon, anton.barkovsky, iritkatriel, pconnell
Priority: normal Keywords:

Created on 2012-01-29 22:45 by Mark.Shannon, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg152272 - (view) Author: Mark Shannon (Mark.Shannon) * (Python committer) Date: 2012-01-29 22:45
The function test_set_reprs() includes the comment:
"Consequently, this test is fragile and implementation-dependent"
Changing the dictionary iteration ordering breaks it.
msg165837 - (view) Author: Anton Barkovsky (anton.barkovsky) * Date: 2012-07-19 12:42
This test breaks now even in CPython. Remove it and be done with it?
msg381611 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2020-11-22 12:17
This test was since renamed to test_set_of_sets_reprs  and is currently marked as @expectedFailure:

https://github.com/python/cpython/commit/51844384f4b225d214e122edd8af65c75e50a150
History
Date User Action Args
2022-04-11 14:57:26adminsetgithub: 58115
2020-11-22 18:41:54rhettingersetstatus: open -> closed
resolution: fixed
stage: resolved
2020-11-22 12:17:43iritkatrielsetnosy: + iritkatriel

messages: + msg381611
versions: + Python 3.8, Python 3.9, Python 3.10
2013-11-23 11:29:51pconnellsetnosy: + pconnell
2012-07-19 12:42:51anton.barkovskysetnosy: + anton.barkovsky
messages: + msg165837
2012-01-29 22:45:26Mark.Shannoncreate