============================= test session starts ==============================
platform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.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 215 items

tests/test_cache.py .............                                        [  6%]
tests/test_cached.py .........................                           [ 17%]
tests/test_cachedmethod.py ................                              [ 25%]
tests/test_fifo.py ...............                                       [ 32%]
tests/test_func.py ..........................................            [ 51%]
tests/test_keys.py .....                                                 [ 53%]
tests/test_lfu.py ...............                                        [ 60%]
tests/test_lru.py ...............                                        [ 67%]
tests/test_mru.py ................                                       [ 75%]
tests/test_rr.py ..............                                          [ 81%]
tests/test_tlru.py ....................                                  [ 91%]
tests/test_ttl.py ...................                                    [100%]

=============================== warnings summary ===============================
tests/test_mru.py::MRUCacheTest::test_defaults
  /workspace/cachetools/tests/__init__.py:8: DeprecationWarning: MRUCache is deprecated
    cache = self.Cache(maxsize=1)

tests/test_mru.py::MRUCacheTest::test_delete
  /workspace/cachetools/tests/__init__.py:54: DeprecationWarning: MRUCache is deprecated
    cache = self.Cache(maxsize=2)

tests/test_mru.py::MRUCacheTest::test_getsizeof_param
  /workspace/cachetools/tests/__init__.py:257: DeprecationWarning: MRUCache is deprecated
    self._test_getsizeof(self.Cache(maxsize=3, getsizeof=lambda x: x))

tests/test_mru.py::MRUCacheTest::test_getsizeof_subclass
  /workspace/cachetools/tests/__init__.py:264: DeprecationWarning: MRUCache is deprecated
    self._test_getsizeof(Cache(maxsize=3))

tests/test_mru.py::MRUCacheTest::test_insert
  /workspace/cachetools/tests/__init__.py:18: DeprecationWarning: MRUCache is deprecated
    cache = self.Cache(maxsize=2)

tests/test_mru.py::MRUCacheTest::test_missing
  /workspace/cachetools/tests/__init__.py:126: DeprecationWarning: MRUCache is deprecated
    cache = DefaultCache(maxsize=2)

tests/test_mru.py::MRUCacheTest::test_missing_getsizeof
  /workspace/cachetools/tests/__init__.py:188: DeprecationWarning: MRUCache is deprecated
    cache = DefaultCache(maxsize=2, getsizeof=lambda x: x)

tests/test_mru.py::MRUCacheTest::test_pickle
  /workspace/cachetools/tests/__init__.py:269: DeprecationWarning: MRUCache is deprecated
    source = self.Cache(maxsize=2)

tests/test_mru.py::MRUCacheTest::test_pickle_maxsize
tests/test_mru.py::MRUCacheTest::test_pickle_maxsize
tests/test_mru.py::MRUCacheTest::test_pickle_maxsize
  /workspace/cachetools/tests/__init__.py:297: DeprecationWarning: MRUCache is deprecated
    source = self.Cache(maxsize=n)

tests/test_mru.py::MRUCacheTest::test_pop
  /workspace/cachetools/tests/__init__.py:78: DeprecationWarning: MRUCache is deprecated
    cache = self.Cache(maxsize=2)

tests/test_mru.py::MRUCacheTest::test_popitem
  /workspace/cachetools/tests/__init__.py:98: DeprecationWarning: MRUCache is deprecated
    cache = self.Cache(maxsize=2)

tests/test_mru.py::MRUCacheTest::test_popitem_exception_context
  /workspace/cachetools/tests/__init__.py:114: DeprecationWarning: MRUCache is deprecated
    self.Cache(maxsize=2).popitem()

tests/test_mru.py::MRUCacheTest::test_update
  /workspace/cachetools/tests/__init__.py:36: DeprecationWarning: MRUCache is deprecated
    cache = self.Cache(maxsize=2)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
--------------------------------- JSON report ----------------------------------
report saved to: report.json
======================= 215 passed, 15 warnings in 0.23s =======================