mirror of
https://github.com/python/cpython.git
synced 2025-08-21 17:25:34 +00:00
[3.12] gh-130185: Fix unintentionally skipped tests in test_functools
(GH-130186) (#130189)
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
5e44d39ba1
commit
4f09a85aca
1 changed files with 10 additions and 0 deletions
|
@ -1313,6 +1313,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