============================= test session starts ==============================
platform linux -- Python 3.10.0, pytest-6.2.5, py-1.10.0, pluggy-0.13.1
rootdir: /build/python-cachy/src/cachy-0.3.0
plugins: mock-3.6.1
collected 10 items / 6 errors / 4 selected

==================================== ERRORS ====================================
_________________ ERROR collecting tests/test_cache_manager.py _________________
ImportError while importing test module '/build/python-cachy/src/cachy-0.3.0/tests/test_cache_manager.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_cache_manager.py:6: in <module>
    from flexmock import flexmock, flexmock_teardown
E   ImportError: cannot import name 'flexmock_teardown' from 'flexmock' (/usr/lib/python3.10/site-packages/flexmock/__init__.py)
__________________ ERROR collecting tests/test_repository.py ___________________
ImportError while importing test module '/build/python-cachy/src/cachy-0.3.0/tests/test_repository.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_repository.py:5: in <module>
    from flexmock import flexmock, flexmock_teardown
E   ImportError: cannot import name 'flexmock_teardown' from 'flexmock' (/usr/lib/python3.10/site-packages/flexmock/__init__.py)
_________________ ERROR collecting tests/test_tagged_cache.py __________________
ImportError while importing test module '/build/python-cachy/src/cachy-0.3.0/tests/test_tagged_cache.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_tagged_cache.py:10: in <module>
    from flexmock import flexmock, flexmock_teardown
E   ImportError: cannot import name 'flexmock_teardown' from 'flexmock' (/usr/lib/python3.10/site-packages/flexmock/__init__.py)
_______________ ERROR collecting tests/stores/test_dict_store.py _______________
ImportError while importing test module '/build/python-cachy/src/cachy-0.3.0/tests/stores/test_dict_store.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/stores/test_dict_store.py:4: in <module>
    from flexmock import flexmock, flexmock_teardown
E   ImportError: cannot import name 'flexmock_teardown' from 'flexmock' (/usr/lib/python3.10/site-packages/flexmock/__init__.py)
_______________ ERROR collecting tests/stores/test_file_store.py _______________
ImportError while importing test module '/build/python-cachy/src/cachy-0.3.0/tests/stores/test_file_store.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/stores/test_file_store.py:10: in <module>
    from flexmock import flexmock, flexmock_teardown
E   ImportError: cannot import name 'flexmock_teardown' from 'flexmock' (/usr/lib/python3.10/site-packages/flexmock/__init__.py)
______________ ERROR collecting tests/stores/test_redis_store.py _______________
ImportError while importing test module '/build/python-cachy/src/cachy-0.3.0/tests/stores/test_redis_store.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/stores/test_redis_store.py:7: in <module>
    from flexmock import flexmock, flexmock_teardown
E   ImportError: cannot import name 'flexmock_teardown' from 'flexmock' (/usr/lib/python3.10/site-packages/flexmock/__init__.py)
=============================== warnings summary ===============================
../../../../usr/lib/python3.10/site-packages/packaging/version.py:127: 768 warnings
  /usr/lib/python3.10/site-packages/packaging/version.py:127: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
    warnings.warn(

../../../../usr/lib/python3.10/site-packages/testtools/distutilscmd.py:7
  /usr/lib/python3.10/site-packages/testtools/distutilscmd.py:7: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
    from distutils.core import Command

-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========================== short test summary info ============================
ERROR tests/test_cache_manager.py
ERROR tests/test_repository.py
ERROR tests/test_tagged_cache.py
ERROR tests/stores/test_dict_store.py
ERROR tests/stores/test_file_store.py
ERROR tests/stores/test_redis_store.py
!!!!!!!!!!!!!!!!!!! Interrupted: 6 errors during collection !!!!!!!!!!!!!!!!!!!!
======================= 769 warnings, 6 errors in 0.26s ========================
WARNING [pifpaf.util] `psutil.Popen(pid=1358, status='terminated', exitcode=2, started='19:20:59')` is already gone, sending SIGKILL to its process group
[1m[31m==> ERROR:[0m[1m A failure occurred in check().[0m
[1m    Aborting...[0m
