Skip to content

test: use unittest.mock when available #252

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jelly
Copy link

@jelly jelly commented Nov 21, 2022

The mock module is no longer required in Python 3.3 as unittest now has a mock module. This patch keeps older versions of Python compatible.

The mock module is no longer required in Python 3.3 as unittest now has
a mock module. This patch keeps older versions of Python compatible.
@codecov-commenter
Copy link

Codecov Report

Merging #252 (073fa20) into master (333fbcb) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #252   +/-   ##
=======================================
  Coverage   78.25%   78.25%           
=======================================
  Files          42       42           
  Lines        4710     4710           
=======================================
  Hits         3686     3686           
  Misses       1024     1024           

@a-detiste
Copy link

ping

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