Skip to content

Incomplete test coverage for ast.get_docstring #121671

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

Closed
tomasr8 opened this issue Jul 13, 2024 · 1 comment
Closed

Incomplete test coverage for ast.get_docstring #121671

tomasr8 opened this issue Jul 13, 2024 · 1 comment
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@tomasr8
Copy link
Member

tomasr8 commented Jul 13, 2024

Bug report

Bug description:

The ast.get_docstring is missing test coverage:

image

I'll send a PR with some additional tests ;)

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

@tomasr8 tomasr8 added the type-bug An unexpected behavior, bug, or error label Jul 13, 2024
@Eclips4 Eclips4 added the tests Tests in the Lib/test dir label Jul 13, 2024
encukou pushed a commit that referenced this issue Jul 13, 2024
Increase test coverage for `ast.get_docstring`
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jul 13, 2024
…nGH-121674)

Increase test coverage for `ast.get_docstring`
(cherry picked from commit 0a26aa5)

Co-authored-by: Tomas R <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jul 13, 2024
…nGH-121674)

Increase test coverage for `ast.get_docstring`
(cherry picked from commit 0a26aa5)

Co-authored-by: Tomas R <[email protected]>
encukou pushed a commit that referenced this issue Jul 13, 2024
encukou pushed a commit that referenced this issue Jul 13, 2024
@encukou
Copy link
Member

encukou commented Jul 13, 2024

Thank you for the fix!

@encukou encukou closed this as completed Jul 13, 2024
IljaManakov pushed a commit to IljaManakov/cpython that referenced this issue Jul 13, 2024
estyxx pushed a commit to estyxx/cpython that referenced this issue Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

3 participants