Skip to content

Docstring at top of file effects test coverage #24179

@mjbvz

Description

@mjbvz

Testing #22827

For a file:

"""
A module for incrementing and decrementing numbers.
"""

def increment(x):
    """Increment x by 1, but not above 10."""
    return x + 1

The presence of the docstring at the top of the file changes coverage numbers

Metadata

Metadata

Assignees

Labels

area-testinginfo-neededIssue requires more information from postertriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions