| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Now that the minimum supported version of Python is 3.7, we can stop using the external mock requirement, and import it from unittest. I have also attempted to keep imports ordered. Fixes googleapis#377
|
@s-t-e-v-e-n-k, general comment: AsyncMock isn't part of the stdlib i.e. unitest.mock for Python 3.7. which we're using in our test code. |
Sorry, something went wrong.
|
Ahh, indeed, AsyncMock was added in 3.8. I'll modify this accordingly. |
Sorry, something went wrong.
AsyncMock is not included in unittest.mock under Python 3.7, so we must fallback to the external mock requirement for that Python version. Only install it for that version. Keep this as a separate commit so it can be reverted when 3.7 isn't supported anymore.
| Back | FazBrowse Home | New Git URL |
Now that the minimum supported version of Python is 3.7, we can stop using the external mock requirement, and import it from unittest. I have also attempted to keep imports ordered.
Fixes #377
Closes #676
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: