Проблема с последней версией pytest 8.3.2.Python

Программы на Python
Anonymous
Проблема с последней версией pytest 8.3.2.

Сообщение Anonymous »

Используем последнюю версию dill и pytest>=8.0.0, но не знаем, почему возникает проблема ниже
/python3.9/site-packages/dill/__diff.py:101: in
seq_id = dict((id_(key),id_(value)) for key, value in s.items())
E ValueError: too many values to unpack (expected 2)
ERROR collecting /tests/.tox/6.0.20/lib/python3.9/site-packages/dill/tests/test_module.py
ImportError while importing test module '/tests/.tox/6.0.20/lib/python3.9/site-packages/dill/tests/test_module.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../../../../.pyenv/versions/3.9.6/lib/python3.9/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
.tox/6.0.20/lib/python3.9/site-packages/dill/tests/test_module.py:11: in
import test_mixins as module
.tox/6.0.20/lib/python3.9/site-packages/dill/__diff.py:220: in _imp
mod = __import__(*args, **kwds)
E ModuleNotFoundError: No module named 'test_mixins'



Подробнее здесь: https://stackoverflow.com/questions/790 ... test-8-3-2

Вернуться в «Python»