Skip to content

Some tests are skipped in test_functools #130185

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

Closed
tomasr8 opened this issue Feb 16, 2025 · 1 comment
Closed

Some tests are skipped in test_functools #130185

tomasr8 opened this issue Feb 16, 2025 · 1 comment
Assignees
Labels
3.12 only security fixes 3.13 bugs and security fixes 3.14 bugs and security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@tomasr8
Copy link
Member

tomasr8 commented Feb 16, 2025

Bug report

Bug description:

TestCache is not used by any other test class in the module. I'm guessing it was intended to be used as TestLRU but it currently does not run:

class TestCache:
# This tests that the pass-through is working as designed.
# The underlying functionality is tested in TestLRU.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

@tomasr8 tomasr8 added 3.12 only security fixes 3.13 bugs and security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error labels Feb 16, 2025
@tomasr8 tomasr8 self-assigned this Feb 16, 2025
@picnixz picnixz added the 3.14 bugs and security fixes label Feb 16, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Feb 16, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Feb 16, 2025
sobolevn pushed a commit that referenced this issue Feb 16, 2025
…s` (GH-130186) (#130189)

gh-130185: Fix unintentionally skipped tests in `test_functools` (GH-130186)
(cherry picked from commit 73d0300)

Co-authored-by: Tomas R <[email protected]>
sobolevn pushed a commit that referenced this issue Feb 16, 2025
…s` (GH-130186) (#130188)

gh-130185: Fix unintentionally skipped tests in `test_functools` (GH-130186)
(cherry picked from commit 73d0300)

Co-authored-by: Tomas R <[email protected]>
@sobolevn
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.12 only security fixes 3.13 bugs and security fixes 3.14 bugs and security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

3 participants