- Notifications
You must be signed in to change notification settings - Fork345
chore: Migrate from mock to unittest.mock#1361
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
clundin25 commentedJul 25, 2023
- chore: Use stdlib unittest.mock instead of separate mock library.Resolvesuse unittest.mock instead of mock #1055
- Fix mypy error.
BigTailWolf left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Great! One less dependency
clundin25 commentedJul 26, 2023
Looks like I'm considering if we should just gate the Async code to 3.8 in that case, since it's still in "Preview". @sai-sunder-s@arithmetic1728@BigTailWolf thoughts? |
BigTailWolf commentedJul 31, 2023
Do we currently have any |
clundin25 commentedJul 31, 2023
@BigTailWolf It's found in the following files: ❯ rg"AsyncMock" -ltests_async/oauth2/test__client_async.pytests_async/oauth2/test_id_token.pytests_async/oauth2/test_reauth_async.pytests_async/oauth2/test_service_account_async.pytests_async/oauth2/test_credentials_async.pytests_async/transport/test_aiohttp_requests.py |
dvzrv commentedMar 5, 2024
Hi! 👋 We are currently (finally) removing the python-mock package on Arch Linux. |
lfos commentedFeb 18, 2025
Are there any updates? It'd be great to get this updated and merged! |