bpo-45624: make test_graphlib not depend on the iteration order of sets#29233
bpo-45624: make test_graphlib not depend on the iteration order of sets#29233ambv merged 1 commit intopython:mainfrom
Conversation
the current test depended on integer sets being iterated on in a certain fixed order. That order is different on PyPy (insertion based) and could change in CPython in the future in theory. Make the test robust against a different iteration order by sorting.
|
Sorry @cfbolz and @ambv, I had trouble checking out the |
…ts (pythonGH-29233) the current test depended on integer sets being iterated on in a certain fixed order. That order is different on PyPy (insertion based) and could change in CPython in the future in theory. Make the test robust against a different iteration order by sorting. (cherry picked from commit 7401694) Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
|
GH-29292 is a backport of this pull request to the 3.9 branch. |
…ts (pythonGH-29233) the current test depended on integer sets being iterated on in a certain fixed order. That order is different on PyPy (insertion based) and could change in CPython in the future in theory. Make the test robust against a different iteration order by sorting. (cherry picked from commit 7401694) Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
|
GH-29293 is a backport of this pull request to the 3.10 branch. |
…ts (GH-29233) (GH-29292) the current test depended on integer sets being iterated on in a certain fixed order. That order is different on PyPy (insertion based) and could change in CPython in the future in theory. Make the test robust against a different iteration order by sorting. (cherry picked from commit 7401694) Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
…ts (GH-29233) (GH-29293) the current test depended on integer sets being iterated on in a certain fixed order. That order is different on PyPy (insertion based) and could change in CPython in the future in theory. Make the test robust against a different iteration order by sorting. (cherry picked from commit 7401694) Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
|
the current test depended on integer sets being iterated on in a certain
fixed order. That order is different on PyPy (insertion based) and could
change in CPython in the future in theory. Make the test robust against
a different iteration order by sorting.
https://bugs.python.org/issue45624