Skip to content

Fix DeprecationWarning for non-None return from test cases on Python 3.14+ - #237

Merged
icemac merged 1 commit into
masterfrom
fix/issue-235-test-return-deprecation
May 28, 2026
Merged

Fix DeprecationWarning for non-None return from test cases on Python 3.14+#237
icemac merged 1 commit into
masterfrom
fix/issue-235-test-return-deprecation

Conversation

@icemac

@icemac icemac commented May 27, 2026

Copy link
Copy Markdown
Member

Fixes #235

…3.14+

Extract test method bodies in PickleCacheTestMixin into _check_* helpers
that return values. The test_* methods call the helpers without returning.
Subclass overrides call self._check_*() instead of super().test_*().

Fixes #235

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@icemac icemac assigned icemac and dataflake and unassigned dataflake May 27, 2026
@icemac
icemac requested a review from dataflake May 27, 2026 06:42
@icemac
icemac merged commit 2f9e363 into master May 28, 2026
67 checks passed
@icemac
icemac deleted the fix/issue-235-test-return-deprecation branch May 28, 2026 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DeprecationWarning: It is deprecated to return a value that is not None from a test case

2 participants