summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_graphlib.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-45624: make test_graphlib not depend on the iteration order of sets ↵Miss Islington (bot)2021-10-281-4/+13
| | | | | | | | | | | (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 7401694807fc6b5f7b35ff73c06f4bb852e02946) Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
* bpo-17005: Move topological sort functionality to its own module (GH-20558)Miss Islington (bot)2020-06-011-0/+244
The topological sort functionality that was introduced initially in the functools module has been moved to a new graphlib module to better accommodate the new tools and keep the original scope of the functools module. (cherry picked from commit 2f172d8f1525defe9bba4d49e967fdfc69151731) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>