Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-28911: Clarify the behaviour of assert_called_once_with. (#254) | Arne de Laat | 2017-02-23 | 1 | -5/+6 |
| | | | (cherry picked from commit 9d56b34af2efc4e266bf3ae62da5cd2e422a42be) | ||||
* | Issue #20804: Document the limitation of the unittest.mock.sentinel attributes. | Serhiy Storchaka | 2017-01-11 | 1 | -0/+3 |
| | |||||
* | Issue #19795: Mark up None as literal text. | Serhiy Storchaka | 2016-10-19 | 1 | -1/+1 |
| | |||||
* | Issue #27531: Update signature of Mock.assert_not_called method | Berker Peksag | 2016-07-17 | 1 | -1/+1 |
| | | | | | | Since 01ae1ac2daf4, it doesn't accept any arguments. Patch by Michael Killough. | ||||
* | Issue #22558: Add remaining doc links to source code for Python-coded modules. | Terry Jan Reedy | 2016-06-11 | 1 | -2/+5 |
| | | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi. | ||||
* | Fix typos in mock and exceptions docs | Berker Peksag | 2016-04-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | The default value of __len__ is 0, not 1: >>> from unittest.mock import MagicMock >>> mock = MagicMock() >>> len(mock) 0 Reported by Alex on docs@p.o. Remove the remaining VMSError reference. VMS support is gone. | ||||
* | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 | Martin Panter | 2015-11-02 | 1 | -1/+1 |
|\ | |||||
| * | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 1 | -1/+1 |
| | | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar. | ||||
* | | Use print function in mock docs. | Berker Peksag | 2015-09-10 | 1 | -6/+6 |
|\ \ | |/ | |||||
| * | Use print function in mock docs. | Berker Peksag | 2015-09-10 | 1 | -6/+6 |
| | | |||||
* | | Add versionchanged information for mock_open. | Robert Collins | 2015-07-23 | 1 | -0/+8 |
|\ \ | |/ | |||||
| * | Add versionchanged information for mock_open. | Robert Collins | 2015-07-23 | 1 | -0/+8 |
| | | |||||
* | | Issue #21750: Further fixup to be styled like other mock APIs. | Robert Collins | 2015-07-23 | 1 | -3/+5 |
|\ \ | |/ | |||||
| * | Issue #21750: Further fixup to be styled like other mock APIs. | Robert Collins | 2015-07-23 | 1 | -3/+5 |
| | | |||||
| * | Fix usage of the default role. | Zachary Ware | 2015-07-07 | 1 | -35/+35 |
| | | | | | | | | | | The changes to Doc/library/unittest.mock.rst are almost entirely a selective backport of the 3.5 page. | ||||
| * | Fix suspicious markup | Zachary Ware | 2015-07-07 | 1 | -1/+1 |
| | | |||||
* | | Issue #23641: Cleaned out legacy dunder names from tests and docs. | Serhiy Storchaka | 2015-03-12 | 1 | -6/+6 |
|\ \ | |/ | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. Added few tests for __truediv__, __floordiv__ and __matmul__. | ||||
| * | Issue #23641: Cleaned out legacy dunder names from tests and docs. | Serhiy Storchaka | 2015-03-12 | 1 | -6/+6 |
| | | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. | ||||
* | | merge 3.4 (#23221) | Benjamin Peterson | 2015-01-13 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | fix instances of consecutive articles (closes #23221) | Benjamin Peterson | 2015-01-13 | 1 | -1/+1 |
| | | | | | | | | Patch by Karan Goel. | ||||
* | | Issue #20487: Clarify meaning of "side effect" in the magic mock documentation. | Berker Peksag | 2015-01-07 | 1 | -3/+4 |
|\ \ | |/ | | | | | Patch by A.M. Kuchling. | ||||
| * | Issue #20487: Clarify meaning of "side effect" in the magic mock documentation. | Berker Peksag | 2015-01-07 | 1 | -3/+4 |
| | | | | | | | | Patch by A.M. Kuchling. | ||||
* | | merge with 3.4 | Georg Brandl | 2014-10-31 | 1 | -7/+8 |
|\ \ | |/ | |||||
| * | #22613: minor other fixes in library docs (thanks Jacques Ducasse) | Georg Brandl | 2014-10-31 | 1 | -7/+8 |
| | | |||||
| * | unittest.mock docs: fix use of default role | Georg Brandl | 2014-10-31 | 1 | -235/+235 |
| | | |||||
* | | unittest.mock docs: fix use of default role | Georg Brandl | 2014-10-31 | 1 | -277/+278 |
| | | |||||
* | | Merge with 3.4 | Georg Brandl | 2014-10-29 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Use https:// URLs when referring to python.org hosts. | Georg Brandl | 2014-10-29 | 1 | -1/+1 |
| | | |||||
| * | Merge in all documentation changes since branching 3.4.0rc1. | Larry Hastings | 2014-03-16 | 1 | -2/+2 |
| | | |||||
* | | Closes Issue 21262: New method assert_not_called for Mock. | Kushal Das | 2014-04-16 | 1 | -0/+14 |
| | | | | | | | | It raises AssertionError if the mock has been called. | ||||
* | | Closes Issue 21238: New keyword argument `unsafe` to Mock. | Kushal Das | 2014-04-16 | 1 | -1/+7 |
| | | | | | | | | | | It raises `AttributeError` incase of an attribute startswith assert or assret. | ||||
* | | Closes issue 17660. You no longer need to explicitly pass create=True when ↵ | Michael Foord | 2014-04-14 | 1 | -2/+23 |
| | | | | | | | | patching builtin names. | ||||
* | | Close #20759: Fix some typos in the mock docs. (Merge with 3.3) | Zachary Ware | 2014-02-26 | 1 | -2/+2 |
|\ \ | |/ |/| | |||||
| * | Issue #20759: Fix some typos in the mock docs. | Zachary Ware | 2014-02-26 | 1 | -2/+2 |
| | | |||||
* | | Removed spaces before colons and semicolons. | Serhiy Storchaka | 2013-12-24 | 1 | -11/+11 |
|\ \ | |/ | |||||
| * | Removed spaces before colons and semicolons. | Serhiy Storchaka | 2013-12-24 | 1 | -11/+11 |
| | | |||||
* | | Issue #19795: Improved markup of True/False constants. | Serhiy Storchaka | 2013-11-29 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Issue #19795: Improved markup of True/False constants. | Serhiy Storchaka | 2013-11-29 | 1 | -3/+3 |
| | | |||||
* | | Issue #18758: Fixed and improved cross-references. | Serhiy Storchaka | 2013-10-13 | 1 | -3/+4 |
|\ \ | |/ | |||||
| * | Issue #18758: Fixed and improved cross-references. | Serhiy Storchaka | 2013-10-13 | 1 | -4/+4 |
| | | |||||
* | | Issue #18743: Fix references to non-existant "StringIO" module. | Serhiy Storchaka | 2013-08-16 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #18743: Fix references to non-existant "StringIO" module. | Serhiy Storchaka | 2013-08-16 | 1 | -2/+2 |
| | | |||||
* | | merge | Brett Cannon | 2013-05-25 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Add a missing parenthesis. | Brett Cannon | 2013-05-25 | 1 | -1/+1 |
| | | |||||
* | | Closes issue 17467. Add readline and readlines support to ↵ | Michael Foord | 2013-03-20 | 1 | -2/+6 |
| | | | | | | | | unittest.mock.mock_open | ||||
* | | Merge | Michael Foord | 2013-03-18 | 1 | -0/+19 |
|\ \ | |/ | |||||
| * | Documentation corrections for unittest.mock | Michael Foord | 2013-03-18 | 1 | -0/+19 |
| | | |||||
* | | Merge with 3.3, issue #17047: remove doubled words added in 3.3, | Terry Jan Reedy | 2013-03-11 | 1 | -1/+1 |
|\ \ | |/ | | | | | as reported by Serhiy Storchaka and Matthew Barnett. | ||||
| * | Issue #17047: remove doubled words added in 3.3 | Terry Jan Reedy | 2013-03-11 | 1 | -1/+1 |
| | | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett. | ||||
* | | #17351: merge with 3.3. | Ezio Melotti | 2013-03-11 | 1 | -8/+8 |
|\ \ | |/ |