Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Adding no-cover pragma to test_file for Py3 compat imports. #314

Merged

Conversation

dhermes
Copy link
Contributor

@dhermes dhermes commented Sep 22, 2015

The import always succeeds in Python 2.7, which is the only version where coverage reports are generated.

PS @nathanielmanistaatgoogle I misspoke before. NOW the only line coverage missing in tests are self.fail() lines.

@dhermes dhermes added testing and removed cla: yes labels Sep 22, 2015
@nathanielmanistaatgoogle nathanielmanistaatgoogle changed the title Adding no-cover pragam to test-file for Py3 compat imports. Adding no-cover pragma to test_file for Py3 compat imports. Sep 22, 2015
@nathanielmanistaatgoogle
Copy link
Contributor

Change content looks good but please "pragam" -> "pragma" and "test-file" -> "test_file" in your commit log message.

@dhermes
Copy link
Contributor Author

dhermes commented Sep 22, 2015

Oy! My bad.

The import always succeeds in Python 2.7, which is the only
version where coverage reports are generated.
@dhermes dhermes force-pushed the py3-no-cover-test-file branch from 5a6f5fc to 9ed0701 Compare September 22, 2015 18:33
@dhermes
Copy link
Contributor Author

dhermes commented Sep 22, 2015

Done.

nathanielmanistaatgoogle added a commit that referenced this pull request Sep 22, 2015
Add no-cover pragma to test_file for Py3 compat imports.
@nathanielmanistaatgoogle nathanielmanistaatgoogle merged commit a439a19 into googleapis:master Sep 22, 2015
@dhermes dhermes deleted the py3-no-cover-test-file branch September 22, 2015 18:49
@dhermes dhermes mentioned this pull request Nov 18, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants