Skip to content

vim_coverage.py: handle covered_lines being None #30

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

Merged
merged 1 commit into from
Jun 23, 2018

Conversation

blueyed
Copy link
Contributor

@blueyed blueyed commented May 4, 2018

For a file with no covered lines covered_lines is None.

This patch ensures that an empty list gets returned then.

Using Coverage.py, version 4.5.1 with C extension.

For a file with no covered lines `covered_lines` is None.

This patch ensures that an empty list gets returned then.

Using Coverage.py, version 4.5.1 with C extension.
@blueyed
Copy link
Contributor Author

blueyed commented Jun 21, 2018

Might fix / help with #31, please merge.

@dbarnett dbarnett merged commit ec71500 into google:master Jun 23, 2018
@blueyed blueyed deleted the covered_lines-might-be-None branch June 26, 2018 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants