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

remove usage of old mock #513

Merged
merged 1 commit into from
Mar 22, 2024
Merged

remove usage of old mock #513

merged 1 commit into from
Mar 22, 2024

Conversation

a-detiste
Copy link
Contributor

Hi,

This project actualy already uses unittest.mock in some places:

from unittest.mock import patch

from unittest.mock import patch

https://github.com/testing-cabal/mock

mock is now part of the Python standard library, available as [unittest.mock](https://docs.python.org/dev/library/unittest.mock.html) in Python 3.3 onwards.

Copy link

codecov bot commented Mar 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.40%. Comparing base (87952dc) to head (99bedc2).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #513   +/-   ##
=======================================
  Coverage   91.40%   91.40%           
=======================================
  Files          19       19           
  Lines         873      873           
  Branches      157      157           
=======================================
  Hits          798      798           
  Misses         40       40           
  Partials       35       35           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Archmonger Archmonger merged commit f5d3c97 into jazzband:master Mar 22, 2024
9 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.

2 participants