mirror of
https://github.com/python/cpython.git
synced 2025-08-19 00:00:48 +00:00
[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 73d03005b0
)
Co-authored-by: Tomas R <tomas.roun8@gmail.com>
This commit is contained in:
parent
945dcb05ce
commit
ff92f6b228
1 changed files with 10 additions and 0 deletions
|
@ -1339,6 +1339,16 @@ class TestCache:
|
|||
self.module._CacheInfo(hits=0, misses=0, maxsize=None, currsize=0))
|
||||
|
||||
|
||||
class TestCachePy(TestCache, unittest.TestCase):
|
||||
module = py_functools
|
||||
|
||||
|
||||
@unittest.skipUnless(c_functools, 'requires the C _functools module')
|
||||
class TestCacheC(TestCache, unittest.TestCase):
|
||||
if c_functools:
|
||||
module = c_functools
|
||||
|
||||
|
||||
class TestLRU:
|
||||
|
||||
def test_lru(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue