googleapis / google-auth-library-python

Google Auth Python Library
https://googleapis.dev/python/google-auth/latest/
Apache License 2.0
771 stars 304 forks source link

`RuntimeWarning` in build log when running tests - `coroutine 'AsyncMockMixin._execute_mock_call' was never awaited` #1431

Open parthea opened 8 months ago

parthea commented 8 months ago

See the Kokoro build log which contains the following warning:

tests_async/oauth2/test__client_async.py::test_refresh_grant_retry_with_retry[False]
  /tmpfs/src/github/google-auth-library-python/.nox/unit-3-7/lib/python3.7/site-packages/mock/mock.py:1469: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
    return await func(*newargs, **newkeywargs)