Skip to content

Commit 73d0300

Browse files
authored
gh-130185: Fix unintentionally skipped tests in test_functools (#130186)
1 parent c9b1bf3 commit 73d0300

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Lib/test/test_functools.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1490,6 +1490,16 @@ def fib(n):
14901490
self.module._CacheInfo(hits=0, misses=0, maxsize=None, currsize=0))
14911491

14921492

1493+
class TestCachePy(TestCache, unittest.TestCase):
1494+
module = py_functools
1495+
1496+
1497+
@unittest.skipUnless(c_functools, 'requires the C _functools module')
1498+
class TestCacheC(TestCache, unittest.TestCase):
1499+
if c_functools:
1500+
module = c_functools
1501+
1502+
14931503
class TestLRU:
14941504

14951505
def test_lru(self):

0 commit comments

Comments
 (0)