Skip to content
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

Fix coverage.__version__ comparisons #208

Merged
merged 1 commit into from Dec 3, 2019

Conversation

ArturKlauser
Copy link
Contributor

Fixes two bugs:

  • version is type str; pypy3 throws exception comparing str with int
  • version[1] == '.', not the minor version number

Two bugs:
  * __version__ is type str; pypy3 throws exception comparing str with int
  * __version__[1] == '.', not the minor version number
@TheKevJames
Copy link
Owner

I... don't know how I missed that one. Thank you, good catch, and much appreciated!

@TheKevJames TheKevJames merged commit 03a57a9 into TheKevJames:master Dec 3, 2019
ArturKlauser added a commit to ArturKlauser/coveralls-python that referenced this pull request Dec 3, 2019
Two bugs:
  * __version__ is type str; pypy3 throws exception comparing str with int
  * __version__[1] == '.', not the minor version number
@ArturKlauser ArturKlauser deleted the version-fix branch December 3, 2019 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants