Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gh-38940: Fix flaky simplicial set test
Fixes #38888 . This test has been failing sporadically recently e.g. https://github.com /sagemath/sage/actions/runs/11733902583/job/32689016794?pr=38938 . From my understanding of simplicial set, the two `sigma_1` are actually representing two different cells (the wedge looks like a "8" shape), but because they both come from `S1` (the 1-sphere i.e. circle), they get the same name. SageMath does some magic during doctest so that dict entries are sorted, but the problem is ``` At this point, comparison between v and w is random, based on their location in memory. :: ``` so with some chance it fails. This change should make it deterministic --- since the two faces are named `sigma_1` and `sigma_1'`, the comparison should be by custom name…? ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. (not applicable) - [x] I have updated the documentation and checked the documentation preview. URL: #38940 Reported by: user202729 Reviewer(s): Tobias Diez
- Loading branch information