Uh oh!
There was an error while loading. Please reload this page.
gh-150069: Test frozen dataclass and properties interaction - #150070
Conversation
sobolevn
commented
Jun 10, 2026
@carljm@ericvsmith friendly ping 👋 |
carljm
left a comment
There was a problem hiding this comment.
Looks fine to me, comments are nits.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| with self.assertRaises(FrozenInstanceError): | ||
| d.i = 5 | ||
| def test_non_frozen_normal_derived(self): |
There was a problem hiding this comment.
This test is now quite large and checking quite a few only loosely related behaviors. Not a blocker but might be ideal to break it up.
There was a problem hiding this comment.
I thought about it, but I don't see a clean way to do that :(
It is rather big, but pretty clear. So, I decided to keep it as-is :)
sobolevn
commented
Jul 2, 2026
@carljm thanks a lot for your feedback, I updated my test with your suggestions and scheduled it to be merged :) |
Uh oh!
There was an error while loading. Please reload this page.
Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15. |
GH-152882 is a backport of this pull request to the 3.15 branch. |
Sorry, @sobolevn, I could not cleanly backport this to |
GH-152883 is a backport of this pull request to the 3.14 branch. |
GH-152887 is a backport of this pull request to the 3.13 branch. |
Since #144021 was backported to 3.13, I also mark my PR with the same backports.