blob: e84f59d06131c3cadda687fdbf285ab93641c441 [file] [log] [blame]
Michael Foordba2e4072014-04-15 17:21:08 -04001- Issue #21239: patch.stopall() didn't work deterministically when the same
2 name was patched more than once.
3
Kushal Dasd3135cf2014-04-16 01:05:50 +05304- Issue #21222: Passing name keyword argument to mock.create_autospec now
5 works.
6
Michael Foord6df8ab62014-04-14 16:09:42 -04007- Issue #17826: setting an iterable side_effect on a mock function created by
8 create_autospec now works. Patch by Kushal Das.
9
Michael Foord936fabd2014-04-14 16:25:20 -040010- Issue #17826: setting an iterable side_effect on a mock function created by
11 create_autospec now works. Patch by Kushal Das.
12
Michael Foorddfeef202014-04-14 11:23:48 -040013- Issue #20968: unittest.mock.MagicMock now supports division.
14 Patch by Johannes Baiter.
15
Larry Hastingsb9d1edb2014-01-24 06:17:25 -080016- Issue #20189: unittest.mock now no longer assumes that any object for
17 which it could get an inspect.Signature is a callable written in Python.
18 Fix courtesy of Michael Foord.
19
Michael Foorda98a5ba2013-03-19 17:22:51 -070020- Issue #17467: add readline and readlines support to mock_open in
21 unittest.mock.
22
Antoine Pitroueba505c2013-02-03 00:23:58 +010023- Issue #17015: When it has a spec, a Mock object now inspects its signature
24 when matching calls, so that arguments can be matched positionally or
25 by name.
26
Michael Foord7ea94082012-09-28 16:15:22 +010027- Issue #15323: improve failure message of Mock.assert_called_once_with
28
Nick Coghlandfb22112012-05-27 18:17:07 +100029- Issue #14857: fix regression in references to PEP 3135 implicit __class__
30 closure variable (Reopens issue #12370)
31
Michael Foordac60cfa2012-03-25 18:16:07 +010032- Issue #14295: Add unittest.mock