-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Docstr comment #3787
Docstr comment #3787
Conversation
Should a new test be added for this as well? |
Hello, thank you for the PR. The examples you gave in #3786 seems good candidates for a functional test, you can add them in |
Hi, thanks for the reply! I do not understand Also, I may be misunderstanding you but I don't think that my change skips any treatment. A line of a docstring that looks like a comment should not have its leading |
No problem ! Yes adding unit test would be a plus too :) For functional tests, you can add your example like what was done in this merge request in |
It seems to me that this needs to be covered by unit tests rather than functional tests. I believe there aren't currently any functional tests of the spell checker because (AFAIK)
|
Ho, ok, I did not use spell checking much. It makes sense to just use unit test then. |
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.
This seems ready for merging, thank you. @gschaffner, could you rebase on the latest master to fix the conflicts, please ?
Done! @Pierre-Sassoulas
|
Steps
doc/whatsnew/<current release.rst>
.Description
Fix spell-checker crash on indented docstring lines that look like
# comments
. See #3786 for more info.Type of Changes
Related Issue
Closes #3786