8000 Fix skipped tests · python/cpython@080c249 · GitHub
[go: up one dir, main page]

Skip to content

Commit 080c249

Browse files
committed
Fix skipped tests
1 parent 798f8d3 commit 080c249

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)
0