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
Describe the bug
Using a python:3.11.7 docker container I run into the following import error when running the test suite.
ImportError while importing test module '/root/aiohappyeyeballs/tests/test_impl.py'.
Hint: make sure your test modules/packages have valid Python names.Traceback:
/usr/local/lib/python3.11/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_impl.py:3: in <module>
from test.test_asyncio import utils as test_utils
E ModuleNotFoundError: No module named 'test'
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/bdraco/aiohappyeyeballs
cd aiohappyeyeballs/
poetry install
poetry run pytest
Additional context
The test module is documented for internal use by the python interpreter and apparently not present in all Python distributions.
The test package is meant for internal use by Python only. It is documented for the benefit of the core developers of Python. Any use of this package outside of Python’s standard library is discouraged as code mentioned here can change or be removed without notice between releases of Python.
Describe the bug
Using a
python:3.11.7
docker container I run into the following import error when running the test suite.To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/bdraco/aiohappyeyeballs cd aiohappyeyeballs/ poetry install poetry run pytest
Additional context
The
test
module is documented for internal use by the python interpreter and apparently not present in all Python distributions.https://docs.python.org//3.12/library/test.html#module-test
The text was updated successfully, but these errors were encountered: