]> granicus.if.org Git - python/commit
Issue #23310: Fix MagicMock's initializer to work with __methods__.
authorŁukasz Langa <lukasz@langa.pl>
Tue, 14 Apr 2015 06:12:42 +0000 (23:12 -0700)
committerŁukasz Langa <lukasz@langa.pl>
Tue, 14 Apr 2015 06:12:42 +0000 (23:12 -0700)
commita468db9b0bd8d17575923b91db5fbc4a222d4252
treece2ee26a354e880ce35c3eabf7c25601823e6080
parentcd1aa9158ec89d541ed6309f1766e188778a1499
Issue #23310: Fix MagicMock's initializer to work with __methods__.
Behavior equivalent to m.configure_mock().  Patch by Kasia Jachim.
Lib/unittest/mock.py
Lib/unittest/test/testmock/testmagicmethods.py
Misc/ACKS
Misc/NEWS