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

tests: Upgrade coverage to 7.6.1 #4050

Merged
merged 1 commit into from
Aug 20, 2024
Merged

Conversation

adamchainz
Copy link
Contributor

Fixes these warnings seen during tests on Python 3.12:

/.../coverage/pytracer.py:223: DeprecationWarning: currentThread() is deprecated, use current_thread() instead
  self.thread = self.threading.currentThread()
  
...

/.../coverage/parser.py:382: DeprecationWarning: co_lnotab is deprecated, use co_lines instead.
  if not hasattr(self.code, attr):

The last one is repeated many times.

Coverage 7.6.1 is compatible with Python 3.8-3.12, so perfect for the range tested here.

Submitting Pull Requests

General

  • Make sure you use semantic commit messages.
    Examples: "fix(google): Fixed foobar bug", "feat(accounts): Added foobar feature".
  • All Python code must formatted using Black, and clean from pep8 and isort issues.
  • JavaScript code should adhere to StandardJS.
  • If your changes are significant, please update ChangeLog.rst.
  • If your change is substantial, feel free to add yourself to AUTHORS.

@coveralls
Copy link

coveralls commented Aug 20, 2024

Coverage Status

coverage: 96.117% (+0.3%) from 95.804%
when pulling 6e8f3aa on adamchainz:upgrade_coverage
into 03debcf on pennersr:main.

@pennersr pennersr merged commit 91b4771 into pennersr:main Aug 20, 2024
37 checks passed
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.

3 participants