Issue #23310: Fix MagicMock's initializer to work with __methods__.
Behavior equivalent to m.configure_mock(). Patch by Kasia Jachim.
diff --git a/Misc/ACKS b/Misc/ACKS
index e0ade24..7de6de6 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -632,6 +632,7 @@
Bob Ippolito
Roger Irwin
Atsuo Ishimoto
+Kasia Jachim
Adam Jackson
Ben Jackson
Paul Jackson
diff --git a/Misc/NEWS b/Misc/NEWS
index a38f395..54f6330 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -173,6 +173,9 @@
- Issue #23801: Fix issue where cgi.FieldStorage did not always ignore the
entire preamble to a multipart body.
+- Issue #23310: Fix MagicMock's initializer to work with __methods__, just
+ like configure_mock(). Patch by Kasia Jachim.
+
Tests
-----