gh-130185: Fix unintentionally skipped tests in test_functools (#130186)

This commit is contained in:
Tomas R. 2025-02-16 14:34:54 +01:00 committed by GitHub
parent c9b1bf302c
commit 73d03005b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1490,6 +1490,16 @@ def fib(n):
self.module._CacheInfo(hits=0, misses=0, maxsize=None, currsize=0))
class TestCachePy(TestCache, unittest.TestCase):
module = py_functools
@unittest.skipUnless(c_functools, 'requires the C _functools module')
class TestCacheC(TestCache, unittest.TestCase):
if c_functools:
module = c_functools
class TestLRU:
def test_lru(self):