-
-
Notifications
You must be signed in to change notification settings - Fork 553
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
Show continuation lines when doctest crashes #39102
Show continuation lines when doctest crashes #39102
Conversation
Documentation preview for this PR (built with commit 41b39bb; changes) is ready! 🎉 |
It's actually a bit difficult to test this because |
Thought about reusing one of the crash test? Or should I make a separate one? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thanks for digging into how that machinery works, this certainly makes debugging these crashes a bit easier :)
There's one little typo. Feel free to set to positive review yourself once that is fixed.
Co-authored-by: Julian Rüth <[email protected]>
sagemathgh-39102: Show continuation lines when doctest crashes I think this makes more sense. Normally the format is like ``` sage: code(code) ## line 1234 ## 'result' ``` or ``` sage: code(code) code(code) ## line 1234 ## 'result' ``` with the patch, the display becomes ``` sage: code(code) ....: code(code) ## line 1234 ## 'result' ``` ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have created tests covering the changes. - [x] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#39102 Reported by: user202729 Reviewer(s): Julian Rüth
I think this makes more sense.
Normally the format is like
or
with the patch, the display becomes
📝 Checklist
⌛ Dependencies