Skip to content

Incomplete test coverage for ast.get_docstring #121671

Closed
@tomasr8

Description

@tomasr8

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions