Skip to content

[3.14] gh-135368: Fix mocks on dataclass specs with instance=True (GH-135421) #135503

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
Jun 14, 2025

Conversation

miss-islington
Copy link
Contributor


(cherry picked from commit c8319a3)

Co-authored-by: sobolevn mail@sobolevn.me
Co-authored-by: Marc Mueller 30130371+cdce8p@users.noreply.github.com

…ythonGH-135421)

* pythongh-135368: Fix mocks on dataclass specs with `instance=True`

* Extend dataclass mock_methods

---------
(cherry picked from commit c8319a3)

Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
@miss-islington miss-islington requested a review from cjw296 as a code owner June 14, 2025 08:46
@sobolevn sobolevn enabled auto-merge (squash) June 14, 2025 08:55
@sobolevn sobolevn merged commit 79df5d1 into python:3.14 Jun 14, 2025
43 checks passed
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.

2 participants