-
-
Notifications
You must be signed in to change notification settings - Fork 490
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
Doctest coverage for rings #13618
Comments
comment:1
The dependency on #13634 is for the output of scientific notation of complex interval field. |
Dependencies: #13634 |
comment:2
If someone is willing to review this, please also review the smaller #13634. Thank you. |
This comment has been minimized.
This comment has been minimized.
comment:3
Adding #12802 as a dependency since it modifies |
comment:4
Ready for review. |
comment:5
Removed patchbot message |
This comment has been minimized.
This comment has been minimized.
comment:6
The doctests fail, you need separate # 32bit / # 64bit cases for the |
comment:7
Replying to @vbraun:
What's the best way to do so? Thanks. |
comment:8
Here is an example from sage/rings/polynomial/infinite_polynomial_element.py
|
This comment has been minimized.
This comment has been minimized.
comment:9
Changed. Thank you. Edit: For patchbot: Apply: trac_13618-rings_doc-ts.patch |
comment:10
It would be a pity to lose all this work, any chance it can be rebased and fixed? |
comment:11
I'll upgrade my version of sage tonight and rebase it. |
This comment has been minimized.
This comment has been minimized.
comment:12
I've rebased and split it into 3 more manageable files. For patchbot: Apply: attachment: trac_13618-rings_doc_real-ts.patch, trac_13618-rings_doc_complex-ts.patch, trac_13618-rings_doc_others-ts.patch |
This comment has been minimized.
This comment has been minimized.
comment:19
I've looked through the other two patches and they look good to me except that there is lots of unnecessary whitespace change. This does nothing but break other patches on trac. We'll programmatically remove trailing whitespace when we change to git. Can you go through them and at least remove the patch hunks that do nothing but whitespace change? Like this
Kannappan, are you still reviewing the "real" patch? |
comment:20
Oops! Sorry for the delay!! I had to look through, because reviewing doctests is new to me. But, I have just finished it! Here are some trivial comments, rectifying these as necessary should give this positive review:
Else, as I said, this is fantastic! ~KnS |
Attachment: trac_13618-rings_doc_others-ts.patch.gz Everything else |
comment:21
Alright, I've removed all the whitespace hunks I could find and addressed all of Kannappan's comments as much as I could. Thank you both for reviewing this! Thank you, Travis PS - Also incase anyone is feeling extra generous (or wants me to owe them another favor) there's also the followup #13685. |
Reviewer: Kannappan Sampath, Volker Braun |
comment:24
This needs to be rebased to #6495. |
Attachment: trac_13618-rings_doc_complex-ts.patch.gz Rebased |
Rebased |
comment:25
Attachment: trac_13618-rings_doc_real-ts.patch.gz Rebased. |
comment:26
Congratulations!
|
comment:28
Replying to @tscrim:
IMHO, that could still serve as a meta ticket, so that all we can track all the work proposed to be undertaken by various developers and those unclaimed still remain. Perhaps, we should change the title to something else. But, not close it. Just my feeling, but feel free to ignore. ~KnS |
Merged: sage-5.8.beta1 |
comment:30
Since this patch is already merged, the following advise can only serve as a warning for the future: you should not make needless whitespace changes. Changing whitespace all over the place makes rebasing more difficult than it should be. |
Adding doctests to
rings/complex*
rings/homset.py
rings/ideal.py
rings/rational*
rings/real*
as part of #12024 and cleaning up the documentation.
Apply:
Depends on #13634
Depends on #12802
Depends on #6495
CC: @kini
Component: doctest coverage
Author: Travis Scrimshaw
Reviewer: Kannappan Sampath, Volker Braun
Merged: sage-5.8.beta1
Issue created by migration from https://trac.sagemath.org/ticket/13618
The text was updated successfully, but these errors were encountered: