Serhiy Storchaka | 6af6ddc | 2015-01-31 12:05:05 +0200 | [diff] [blame^] | 1 | - Issue #23326: Removed __ne__ implementations. Since fixing default __ne__ |
| 2 | implementation in issue #21408 they are redundant. **** NOT BACKPORTED **** |
| 3 | |
Kushal Das | b4c7f7e | 2014-09-16 18:33:37 +0530 | [diff] [blame] | 4 | - Issue #21270: We now override tuple methods in mock.call objects so that |
| 5 | they can be used as normal call attributes. |
| 6 | |
Kushal Das | e9f7756 | 2014-06-09 13:45:56 +0530 | [diff] [blame] | 7 | - Issue #21256: Printout of keyword args should be in deterministic order in |
| 8 | a mock function call. This will help to write better doctests. |
| 9 | |
Kushal Das | c7d6c7d | 2014-04-17 01:36:14 +0530 | [diff] [blame] | 10 | - Issue #21262: New method assert_not_called for Mock. |
| 11 | It raises AssertionError if the mock has been called. |
| 12 | |
Kushal Das | 7c530f0 | 2014-04-16 23:32:21 +0530 | [diff] [blame] | 13 | - Issue #21238: New keyword argument `unsafe` to Mock. It raises |
| 14 | `AttributeError` incase of an attribute startswith assert or assret. |
| 15 | |
Michael Foord | ba2e407 | 2014-04-15 17:21:08 -0400 | [diff] [blame] | 16 | - Issue #21239: patch.stopall() didn't work deterministically when the same |
| 17 | name was patched more than once. |
| 18 | |
Kushal Das | d3135cf | 2014-04-16 01:05:50 +0530 | [diff] [blame] | 19 | - Issue #21222: Passing name keyword argument to mock.create_autospec now |
| 20 | works. |
| 21 | |
Michael Foord | 6df8ab6 | 2014-04-14 16:09:42 -0400 | [diff] [blame] | 22 | - Issue #17826: setting an iterable side_effect on a mock function created by |
| 23 | create_autospec now works. Patch by Kushal Das. |
| 24 | |
Michael Foord | 936fabd | 2014-04-14 16:25:20 -0400 | [diff] [blame] | 25 | - Issue #17826: setting an iterable side_effect on a mock function created by |
| 26 | create_autospec now works. Patch by Kushal Das. |
| 27 | |
Michael Foord | dfeef20 | 2014-04-14 11:23:48 -0400 | [diff] [blame] | 28 | - Issue #20968: unittest.mock.MagicMock now supports division. |
| 29 | Patch by Johannes Baiter. |
| 30 | |
Larry Hastings | b9d1edb | 2014-01-24 06:17:25 -0800 | [diff] [blame] | 31 | - Issue #20189: unittest.mock now no longer assumes that any object for |
| 32 | which it could get an inspect.Signature is a callable written in Python. |
| 33 | Fix courtesy of Michael Foord. |
| 34 | |
Michael Foord | a98a5ba | 2013-03-19 17:22:51 -0700 | [diff] [blame] | 35 | - Issue #17467: add readline and readlines support to mock_open in |
| 36 | unittest.mock. |
| 37 | |
Antoine Pitrou | eba505c | 2013-02-03 00:23:58 +0100 | [diff] [blame] | 38 | - Issue #17015: When it has a spec, a Mock object now inspects its signature |
| 39 | when matching calls, so that arguments can be matched positionally or |
| 40 | by name. |
| 41 | |
Michael Foord | 7ea9408 | 2012-09-28 16:15:22 +0100 | [diff] [blame] | 42 | - Issue #15323: improve failure message of Mock.assert_called_once_with |
| 43 | |
Nick Coghlan | dfb2211 | 2012-05-27 18:17:07 +1000 | [diff] [blame] | 44 | - Issue #14857: fix regression in references to PEP 3135 implicit __class__ |
| 45 | closure variable (Reopens issue #12370) |
| 46 | |
Michael Foord | ac60cfa | 2012-03-25 18:16:07 +0100 | [diff] [blame] | 47 | - Issue #14295: Add unittest.mock |