-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.wontfixThis will not be worked onThis will not be worked on
Description
Environment details
- OS type and version: NetBSD-9.99.99/amd64
- Python version: python 3.10.7
- pip version: pip 22.2.2
google-api-core
version: 2.10.1
Steps to reproduce
I'm trying to run the self tests using the pypi distfile and running 'pytest'.
I see:
___________________________________ ERROR collecting tests/unit/test_rest_streaming.py ___________________________________
ImportError while importing test module '/scratch/devel/py-google-api-core/work/google-api-core-2.10.1/tests/unit/test_res
t_streaming.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/pkg/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/unit/test_rest_streaming.py:22: in <module>
import proto
E ModuleNotFoundError: No module named 'proto'
and pytest fails collecting the tests.
Where is the proto module supposed to come from?
When I manually remove the test file, pytest runs to completion with
7 failed, 559 passed, 71 skipped, 138 warnings
Metadata
Metadata
Assignees
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.wontfixThis will not be worked onThis will not be worked on