Fix block-scoped doctest tags with \ line continuations#36034
Merged
vbraun merged 16 commits intosagemath:developfrom Aug 13, 2023
Merged
Fix block-scoped doctest tags with \ line continuations#36034vbraun merged 16 commits intosagemath:developfrom
\ line continuations#36034vbraun merged 16 commits intosagemath:developfrom
Conversation
added 4 commits
August 2, 2023 12:53
…gap_package_grape
…d doctest tag gap_package_quagroup
… # optional - gap_packages
Collaborator
|
This is one I found --- a/src/sage/dynamics/arithmetic_dynamics/wehlerK3.py
+++ b/src/sage/dynamics/arithmetic_dynamics/wehlerK3.py
@@ -474,7 +474,7 @@ class WehlerK3Surface_ring(AlgebraicScheme_subscheme_product_projective):
sage: Z = x0^2*y0^2 + 3*x0*x1*y0^2 + x1^2*y0^2 + 4*x0^2*y0*y1 + 3*x0*x1*y0*y1 \
- 2*x2^2*y0*y1 - x0^2*y1^2 + 2*x1^2*y1^2 - x0*x2*y1^2 - 4*x1*x2*y1^2 \
+ 5*x0*x2*y0*y2 \
- - 4*x1*x2*y0*y2 + 7*x0^2*y1*y2 + 4*x1^2*y1*y2 + x0*x1*y2^2 + 3*x2^2*y2^2 \
+ - 4*x1*x2*y0*y2 + 7*x0^2*y1*y2 + 4*x1^2*y1*y2 + x0*x1*y2^2 + 3*x2^2*y2^2
sage: Y = x0*y0 + x1*y1 + x2*y2
sage: X = WehlerK3Surface([Z, Y])
sage: T = PP(1, 1, 0, 1, 0, 0)The other one was in |
kwankyu
reviewed
Aug 4, 2023
| ... | ||
| 24 | ||
| ...24 | ||
| sage: C = codes.ToricCode([[-2,-2],[-1,-2],[-1,-1],[-1,0], |
Collaborator
There was a problem hiding this comment.
Why ...?
I get just
sage: C.minimum_distance(algorithm="guava")
24
after installing guava.
Contributor
Author
There was a problem hiding this comment.
I would guess it accounts for sporadic output from GAP
Collaborator
|
We missed this one: --- a/src/sage/tests/book_stein_ent.py
+++ b/src/sage/tests/book_stein_ent.py
@@ -21,10 +21,10 @@ sage: factor(2007)
sage: factor(31415926535898)
2 * 3 * 53 * 73 * 2531 * 534697
sage: n = 7403756347956171282804679609742957314259318888\
-...9231289084936232638972765034028266276891996419625117\
-...8439958943305021275853701189680982867331732731089309\
-...0055250511687706329907239638078671008609696253793465\
-...0563796359
+....: 9231289084936232638972765034028266276891996419625117\
+....: 8439958943305021275853701189680982867331732731089309\
+....: 0055250511687706329907239638078671008609696253793465\
+....: 0563796359
sage: len(n.str(2))
704
sage: len(n.str(10)) |
Contributor
Author
|
Thanks! |
SageMath version 10.1.beta9, Release Date: 2023-08-05
Member
|
Merge conflict |
…g doctest line continuations
…rom backslash replacer
Contributor
Author
|
Merged with #36025 to resolve merge conflict. |
|
Documentation preview for this PR (built with commit 669065a; changes) is ready! 🎉 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #36033 (comment)
📝 Checklist
⌛ Dependencies
# optional - gap_package_grapeetc. instead of# optional - gap_packages#36025 (merged here)