New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
optional doctest failure -- galois_group #6312
Comments
comment:1
The attached patch deals with the first of these. (I don't have magma, so can't see what the problem is for the other failure.) |
Attachment: trac_6312-a.patch.gz |
comment:2
I now suspect (but can't check) that the second failure does not lie with It turns out that leaving both |
Attachment: trac_6312-b.patch.gz |
comment:3
I concur with fwclarke's diagnosis -- the traceback indicates that magma's not getting called, it's using the new code I wrote (wrapping Pari). This is just a hangover from ticket #5159: I changed the arguments to galois_group, and didn't check I'd fixed the optional doctests (it took about five attempts just to get the non-optional ones to work!). And it looks like nobody else checked them either until now. The patches look spot on based on browsing the code, but I am at a conference at the moment so don't have time to download and test them (and I don't have Magma either). David |
comment:4
I'm at a conference but do have magma so will look at these! |
comment:5
Review: I applied both patches to 4.1 and ran the test on a machine with magma but (first) without the gap_database installed. This gave a similar error:
I do not know why it is running the test which has the tag # optional - database_gap. Is that tag formatted correctly? Then I installed gap_packages-4.4.10_6.spkg. and database_gap-4.4.10.spkg. After that, the tests in that file all pass (with long, with and without optional) Pass! |
comment:6
With both patches, I'm seeing this doctest failure:
Incidentally, after running all doctests a second time, I get a doctest failure in the plotting code:
This failure didn't appear after running all doctests for a third time. Hmmm... strange. |
Author: Francis Clarke |
comment:7
I added David Loeffler to the CC list since this seems to move into his territory. The plotting thing is a a random test failure which has been seen before, isn't it? |
Reviewer: John Cremona |
Changed keywords from none to Number Field Galois group |
Changed author from Francis Clarke to none |
Changed reviewer from John Cremona to Francis Clarke, John Cremona, Jeroen Demeyer |
comment:12
The |
CC: @loefflerd
Component: packages: optional
Keywords: Number Field Galois group
Reviewer: Francis Clarke, John Cremona, Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/6312
The text was updated successfully, but these errors were encountered: