Closed strogdon closed 2 years ago
Is the value of the random seed important to the failure?
I didn't think about that. Yes the random is important. s-o-g:
sage -t --long --warn-long 93.6 --random-seed=116387117327471072762755998268574349145 /usr/lib/python3.10/site-packages/sage/schemes/toric/sheaf/klyachko.py
[151 tests, 7.32 s]
----------------------------------------------------------------------
All tests passed!
The random was selected automatically when doing
sage -t --long /usr/lib/python3.10/site-packages/sage/schemes/toric/sheaf/klyachko.py
On vanilla
./sage -t --long src/sage/schemes/toric/sheaf/klyachko.py
gives the random
sage -t --long --warn-long 93.7 --random-seed=281775733979582788190627516997358124138 src/sage/schemes/toric/sheaf/klyachko.py
[151 tests, 7.21 s]
----------------------------------------------------------------------
All tests passed!
which of course passes.
Looks like you just found one the bugs the random seed stuff is supposed to catch. You should report it upstream.
This is known (see https://trac.sagemath.org/ticket/32773) but with a different random-seed
.
When doctesting sage on s-o-g I have
When tested individually I have
On vanilla
klyachko.py
failes as above both when doctesting and when testing individually.