Make geometry doctests ready for random seeds
Closed this issue · 20 comments
This ticket makes
sage -t --long --random-seed=n src/sage/geometry/
pass for different values n than just 0 except for
src/sage/geometry/hyperbolic_space/hyperbolic_geodesic.py, which will be taken care of by #29936.
Depends on #29962
Depends on #29904
Component: doctest framework
Author: Jonathan Kliem
Branch/Commit: f7dc36b
Reviewer: Sébastien Labbé
Issue created by migration from https://trac.sagemath.org/ticket/29963
Last 10 new commits:
998b1b9 | default random seed 0 for now |
23ed583 | fix doctest in hyperbolic_space/hyperbolic_point |
5283dc4 | use abs tol flag |
7b244c0 | modify doctests to the extend that they hold with fuzz |
228f379 | Merge branch 'public/29936' of git://trac.sagemath.org/sage into public/29962 |
5c7e562 | fix double description of hypercube |
e1bf211 | remove set_random_seed |
0e7a998 | Merge branch 'public/29904' of git://trac.sagemath.org/sage into public/29962 |
b6a5dc7 | fix random test in geometry/linear_expression |
00c7575 | dash instead of underscore for command line options |
Branch: public/29963
Changed branch from public/29963 to public/29963-reb
Changed branch from public/29963-reb to public/29963-reb2
Changed branch from public/29963-reb2 to public/29963-reb3
If the issue with src/sage/geometry/hyperbolic_space/hyperbolic_geodesic.py is taken care of in another ticket, then the branch on this ticket can go in. It does not have to wait. I would suggest to downgrade the goal of this ticket to what the branch does.
Description changed:
---
+++
@@ -3,4 +3,5 @@
```
sage -t --long --random-seed=n src/sage/geometry/
```
-pass for different values `n` than just `0`.
+pass for different values `n` than just `0` except for
+`src/sage/geometry/hyperbolic_space/hyperbolic_geodesic.py`, which will be taken care of by #29936.Reviewer: Sébastien Labbé
works for me
Thank you.
Changed branch from public/29963-reb3 to f7dc36b