summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/mock.py
Commit message (Expand)AuthorAgeFilesLines
* Issue #26750: use inspect.isdatadescriptor instead of our ownGregory P. Smith2016-08-161-7/+1
* Issue #26750: unittest.mock.create_autospec() now works properlyGregory P. Smith2016-08-071-1/+9
* English spelling and grammar fixesMartin Panter2016-07-111-1/+1
* Issue #23641: Added __getnewargs_ex__ to the list of special mock attributes.Serhiy Storchaka2016-06-191-0/+1
* Issue #26807: mock_open 'files' no longer error on readline at end of file.Robert Collins2016-05-161-0/+2
* Issue #25195: Fix a regression in mock.MagicMockBerker Peksag2016-03-271-0/+3
* Issue #22138: Fix mock.patch behavior when patching descriptors. RestoreSenthil Kumaran2016-01-091-1/+4
* Issue #24857: Comparing call_args to a long sequence now correctly returns aBerker Peksag2015-09-091-2/+3
|\
| * Issue #24857: Comparing call_args to a long sequence now correctly returns aBerker Peksag2015-09-091-2/+3
* | Issue #23004: mock_open() now reads binary data correctly when the type of re...Berker Peksag2015-08-061-3/+4
|\ \ | |/
| * Issue #23004: mock_open() now reads binary data correctly when the type of re...Berker Peksag2015-08-061-3/+4
* | Issue #21750: Further fixup to be styled like other mock APIs.Robert Collins2015-07-231-36/+43
|\ \ | |/
| * Issue #21750: Further fixup to be styled like other mock APIs.Robert Collins2015-07-231-36/+43
* | Typo fix in mock.patch.Robert Collins2015-07-171-1/+1
|\ \ | |/
| * Typo fix in mock.patch.Robert Collins2015-07-171-1/+1
* | Issue #21750: mock_open.read_data can now be read from each instance, as itRobert Collins2015-07-171-33/+37
|\ \ | |/
| * Issue #21750: mock_open.read_data can now be read from each instance, as itRobert Collins2015-07-171-33/+37
* | - Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely.Robert Collins2015-07-141-3/+9
|\ \ | |/
| * - Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely.Robert Collins2015-07-141-3/+9
| * Issue #23310: Fix MagicMock's initializer to work with __methods__.Łukasz Langa2015-04-141-2/+3
* | Issue #23661: unittest.mock side_effects can now be exceptions again.Robert Collins2015-07-141-1/+2
* | Issue #23310: Fix MagicMock's initializer to work with __methods__.Łukasz Langa2015-04-141-2/+3
* | Issue #23568: Add rdivmod support to MagicMock() objects.Berker Peksag2015-03-141-1/+3
|\ \ | |/
| * Issue #23568: Add rdivmod support to MagicMock() objects.Berker Peksag2015-03-141-1/+3
* | Issue #23581: Add matmul support to MagicMock.Berker Peksag2015-03-121-1/+1
* | Issue #23326: Removed __ne__ implementations. Since fixing default __ne__Serhiy Storchaka2015-01-311-4/+0
* | Issue #22823: Fix typo in unittest/mock.pyVictor Stinner2014-12-111-1/+1
* | Issue #22823: Use set literals instead of creating a set from a list.Serhiy Storchaka2014-12-111-16/+15
* | Closes #21270 : We now override tuple methods in mock.call objects.Kushal Das2014-09-161-0/+6
* | Closes #21256: Printout of keyword args in deterministic order in mock calls.Kushal Das2014-06-091-1/+1
* | Removes unused varargs and varkwargs from assert_not_called().Kushal Das2014-04-161-1/+1
* | Closes Issue 21262: New method assert_not_called for Mock.Kushal Das2014-04-161-0/+8
* | Closes Issue 21238: New keyword argument `unsafe` to Mock.Kushal Das2014-04-161-2/+6
* | MergeMichael Foord2014-04-151-5/+10
|\ \ | |/
| * Closes issue 21239. unittest.mock.patch.stopall() did not work deterministica...Michael Foord2014-04-151-5/+10
* | MergeKushal Das2014-04-151-0/+2
|\ \ | |/
| * Closes Issue 21222.Kushal Das2014-04-151-0/+2
* | Closes issue 17660. You no longer need to explicitly pass create=True when pa...Michael Foord2014-04-141-0/+7
|/
* Issue 17826. Setting an iterable side_effect on a mock created by create_auto...Michael Foord2014-04-141-2/+13
* Issue 20968. unittest.mock.MagicMock now supports divisionMichael Foord2014-04-141-1/+3
* Issue #20189: Four additional builtin types (PyTypeObject,Larry Hastings2014-01-241-3/+16
* Process DEFAULT values in mock side_effect that returns iterator.Andrew Svetlov2013-04-071-0/+2
|\
| * Process DEFAULT values in mock side_effect that returns iterator.Andrew Svetlov2013-04-071-0/+2
* | #17504: merge with 3.3.Ezio Melotti2013-03-241-3/+0
|\ \ | |/
| * #17504: remove duplicated sentence. Patch by Radu Voicilas.Ezio Melotti2013-03-241-3/+0
* | Closes issue 17467. Add readline and readlines support to unittest.mock.mock_...Michael Foord2013-03-201-6/+49
* | Merge with 3.3, issue #17047: remove doubled words added in 3.3,Terry Jan Reedy2013-03-111-1/+1
|\ \ | |/
| * Issue #17047: remove doubled words added in 3.3Terry Jan Reedy2013-03-111-1/+1
* | Issue #17015: When it has a spec, a Mock object now inspects its signature wh...Antoine Pitrou2013-02-021-65/+109
|/
* Closes issue 15323. Improve failure message of Mock.assert_called_once_withMichael Foord2012-09-281-2/+2