========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================= test session starts ==========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
platform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3
cachedir: .pytest_cache
metadata: {'Python': '3.10.12', 'Platform': 'Linux-6.8.0-1025-gke-x86_64-with-glibc2.35', 'Packages': {'pytest': '9.0.3', 'pluggy': '1.6.0'}, 'Plugins': {'anyio': '4.13.0', 'metadata': '3.1.1', 'json-report': '1.5.0', 'cov': '7.1.0'}}
rootdir: /workspace/cachetools
configfile: pyproject.toml
plugins: anyio-4.13.0, metadata-3.1.1, json-report-1.5.0, cov-7.1.0
collected 42 items

tests/test_func.py::FIFODecoratorTest::test_decorator PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     [  2%]
tests/test_func.py::FIFODecoratorTest::test_decorator_clear PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               [  4%]
tests/test_func.py::FIFODecoratorTest::test_decorator_needs_rlock PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         [  7%]
tests/test_func.py::FIFODecoratorTest::test_decorator_nocache PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             [  9%]
tests/test_func.py::FIFODecoratorTest::test_decorator_typed PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               [ 11%]
tests/test_func.py::FIFODecoratorTest::test_decorator_unbound PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             [ 14%]
tests/test_func.py::FIFODecoratorTest::test_decorator_user_function PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       [ 16%]
tests/test_func.py::LFUDecoratorTest::test_decorator PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [ 19%]
tests/test_func.py::LFUDecoratorTest::test_decorator_clear PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [ 21%]
tests/test_func.py::LFUDecoratorTest::test_decorator_needs_rlock PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [ 23%]
tests/test_func.py::LFUDecoratorTest::test_decorator_nocache PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [ 26%]
tests/test_func.py::LFUDecoratorTest::test_decorator_typed PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [ 28%]
tests/test_func.py::LFUDecoratorTest::test_decorator_unbound PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [ 30%]
tests/test_func.py::LFUDecoratorTest::test_decorator_user_function PASSED                                                                                                                                                                                                                                                                                                                                                                                                <response clipped><NOTE>Due to the max output limit, only part of the full response has been shown to you.</NOTE>                                                                                                                                                                                                                                                                                                                                                                        [ 71%]
tests/test_func.py::RRDecoratorTest::test_decorator_needs_rlock PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           [ 73%]
tests/test_func.py::RRDecoratorTest::test_decorator_nocache PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               [ 76%]
tests/test_func.py::RRDecoratorTest::test_decorator_typed PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 [ 78%]
tests/test_func.py::RRDecoratorTest::test_decorator_unbound PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               [ 80%]
tests/test_func.py::RRDecoratorTest::test_decorator_user_function PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         [ 83%]
tests/test_func.py::TTLDecoratorTest::test_decorator PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [ 85%]
tests/test_func.py::TTLDecoratorTest::test_decorator_clear PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [ 88%]
tests/test_func.py::TTLDecoratorTest::test_decorator_needs_rlock PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [ 90%]
tests/test_func.py::TTLDecoratorTest::test_decorator_nocache PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [ 92%]
tests/test_func.py::TTLDecoratorTest::test_decorator_typed PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [ 95%]
tests/test_func.py::TTLDecoratorTest::test_decorator_unbound PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [ 97%]
tests/test_func.py::TTLDecoratorTest::test_decorator_user_function PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        [100%]

=========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================== warnings summary ===========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
tests/test_func.py::MRUDecoratorTest::test_decorator
tests/test_func.py::MRUDecoratorTest::test_decorator_clear
tests/test_func.py::MRUDecoratorTest::test_decorator_typed
  /workspace/cachetools/src/cachetools/func.py:148: DeprecationWarning: MRUCache is deprecated
    cache = MRUCache(maxsize)

tests/test_func.py::MRUDecoratorTest::test_decorator_unbound
  /workspace/cachetools/src/cachetools/func.py:37: DeprecationWarning: MRUCache is deprecated
    MRUCache.__init__(self, math.inf, getsizeof)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
==================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================== 42 passed, 4 warnings in 0.04s ====================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
[The command completed with exit code 0.]
[Current working directory: /workspace/cachetools]
[Python interpreter: /usr/bin/python]
[Command finished with exit code 0]