https://github.com/python/cpython/commit/ff92f6b228f8af807f5af521e669104069327ad1
commit: ff92f6b228f8af807f5af521e669104069327ad1
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: sobolevn <[email protected]>
date: 2025-02-16T13:57:27Z
summary:

[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 73d03005b028eb6e4d1a643f3ca7a1f5ff2040fc)

Co-authored-by: Tomas R <[email protected]>

files:
M Lib/test/test_functools.py

diff --git a/Lib/test/test_functools.py b/Lib/test/test_functools.py
index 894adb699c87f2..438cc96f3a72d8 100644
--- a/Lib/test/test_functools.py
+++ b/Lib/test/test_functools.py
@@ -1339,6 +1339,16 @@ def fib(n):
             self.module._CacheInfo(hits=0, misses=0, maxsize=None, currsize=0))
 
 
+class TestCachePy(TestCache, unittest.TestCase):
+    module = py_functools
+
+
[email protected](c_functools, 'requires the C _functools module')
+class TestCacheC(TestCache, unittest.TestCase):
+    if c_functools:
+        module = c_functools
+
+
 class TestLRU:
 
     def test_lru(self):

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to