8000 [3.13] gh-130185: Fix unintentionally skipped tests in `test_functool… · python/cpython@ff92f6b · GitHub
[go: up one dir, main page]

Skip to content

Commit ff92f6b

Browse files
[3.13] gh-130185: Fix unintentionally skipped tests in test_functools (GH-130186) (#130188)
gh-130185: Fix unintentionally skipped tests in `test_functools` (GH-130186) (cherry picked from commit 73d0300) Co-authored-by: Tomas R <tomas.roun8@gmail.com>
1 parent 945dcb0 commit ff92f6b

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

13411341

1342+
class TestCachePy(TestCache, unittest.TestCase):
1343+
module = py_functools
1344+
1345+
1346+
@unittest.skipUnless(c_functools, 'requires the C _functools module')
1347+
class TestCacheC(TestCache, unittest.TestCase):
1348+
if c_functools:
1349+
module = c_functools
1350+
1351+
13421352
class TestLRU:
13431353

13441354
def test_lru(self):

0 commit comments

Comments
 (0)
0