Skip to content
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

Turn some doctests in ell_rational_field.py into long tests #38824

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

S17A05
Copy link
Member

@S17A05 S17A05 commented Oct 17, 2024

Fixes #38813

Some of the doctests in ell_rational_field.py ran into RuntimeErrors and couldn't compute generators in time, causing tests to fail. Turning them into long tests (which is necessary since they have to run longer in some cases) fixes that problem.

Also added some missing spaces.

Copy link

Documentation preview for this PR (built with commit c5828ca; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

@fchapoton
Copy link
Contributor

probably a side-effect of #38461

sage: P = E.lift_x(611429153205013185025/9492121848205441)
sage: ge = set(E.gens(use_database=False, algorithm='pari',pari_effort=4))
sage: ge <= set([P+T for T in E.torsion_points()]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why gather the lines here ?

Copy link
Member Author

@S17A05 S17A05 Oct 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Marking just the first line as # long time caused a warning that ge is not always defined

@S17A05
Copy link
Member Author

S17A05 commented Oct 18, 2024

I can't reproduce the timeout of matrix_integer_dense.pyx in the CI test, but it seems unrelated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

doctest failure in schemes/elliptic_curves/ell_rational_field.py
2 participants