8000 gh-130185: Fix unintentionally skipped tests in `test_functools` by tomasr8 · Pull Request #130186 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-130185: Fix unintentionally skipped tests in test_functools #130186

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 16, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix skipped tests
  • Loading branch information
tomasr8 committed Feb 16, 2025
commit 080c24973661398e44f9a0a63fbdf7abc869a70e
10 changes: 10 additions & 0 deletions Lib/test/test_functools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1490,6 +1490,16 @@ def fib(n):
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):
Expand Down
Loading
0