[3.12] gh-123934: Fix MagicMock not to reset magic method return values (GH-124038)
#49593
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention