diff options
author | Łukasz Langa <lukasz@langa.pl> | 2015-04-14 07:12:57 (GMT) |
---|---|---|
committer | Łukasz Langa <lukasz@langa.pl> | 2015-04-14 07:12:57 (GMT) |
commit | 5f6684efe0690c1272b206764301e751e37d9bcf (patch) | |
tree | ba6a1f57f1603b2f3af243de631c0abbd0de6a95 /Misc | |
parent | 4882cacab6bcaf90ac496fc8878987598e7665c1 (diff) | |
download | cpython-5f6684efe0690c1272b206764301e751e37d9bcf.zip cpython-5f6684efe0690c1272b206764301e751e37d9bcf.tar.gz cpython-5f6684efe0690c1272b206764301e751e37d9bcf.tar.bz2 |
Issue #23310: Fix MagicMock's initializer to work with __methods__.
Behavior equivalent to m.configure_mock(). Patch by Kasia Jachim.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -632,6 +632,7 @@ John Interrante Bob Ippolito Roger Irwin Atsuo Ishimoto +Kasia Jachim Adam Jackson Ben Jackson Paul Jackson @@ -173,6 +173,9 @@ Library - 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 ----- |