Skip to content

Commit 934cfc8

Browse files
tomasr8miss-islington
authored andcommitted
pythongh-130185: Fix unintentionally skipped tests in test_functools (pythonGH-130186)
(cherry picked from commit 73d0300) Co-authored-by: Tomas R. <[email protected]>
1 parent 5e44d39 commit 934cfc8

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
@@ -1313,6 +1313,16 @@ def fib(n):
13131313
self.module._CacheInfo(hits=0, misses=0, maxsize=None, currsize=0))
13141314

13151315

1316+
class TestCachePy(TestCache, unittest.TestCase):
1317+
module = py_functools
1318+
1319+
1320+
@unittest.skipUnless(c_functools, 'requires the C _functools module')
1321+
class TestCacheC(TestCache, unittest.TestCase):
1322+
if c_functools:
1323+
module = c_functools
1324+
1325+
13161326
class TestLRU:
13171327

13181328
def test_lru(self):

0 commit comments

Comments
 (0)