[...]
__________________________________________________________________________________________ ERROR collecting tests/test_zlibdecompressor.py ___________________________________________________________________________________________
ImportError while importing test module '[...]/zlib-py/tests/test_zlibdecompressor.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../../.pyenv/versions/3.14.4/lib/python3.14/importlib/__init__.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_zlibdecompressor.py:20: in <module>
from tests.test_compressobj import HAMLET_SCENE # vendored block, reused
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E ModuleNotFoundError: No module named 'tests'
What I did:
uv sync --group test uv run pytestWhat I got
Workaround for me: make
testsa package:touch tests/__init__.py.