You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 16, 2023. It is now read-only.
The following errors appears when running the tests on Python 3.10:
+ /usr/bin/pytest tests
============================= test session starts ==============================
platform linux -- Python 3.10.0b4, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: /builddir/build/BUILD/python-iam-2.3.0
collected 0 items / 1 error
==================================== ERRORS ====================================
___ ERROR collecting tests/unit/gapic/credentials_v1/test_iam_credentials.py ___
ImportError while importing test module '/builddir/build/BUILD/python-iam-2.3.0/tests/unit/gapic/credentials_v1/test_iam_credentials.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/unit/gapic/credentials_v1/test_iam_credentials.py:17: in <module>
import mock
E ModuleNotFoundError: No module named 'mock'
=========================== short test summary info ============================
ERROR tests/unit/gapic/credentials_v1/test_iam_credentials.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.13s ===============================
The following errors appears when running the tests on Python 3.10: