summaryrefslogtreecommitdiffstats
path: root/Doc/library/unittest.mock-examples.rst
Commit message (Collapse)AuthorAgeFilesLines
* gh-92417: `unittest.mock` docs: remove references to Python <2.6 (GH-92539)Alex Waygood2022-05-101-1/+1
|
* Use the zero argument form of super() in examples for Python3 docs. (GH-22314)Andre Delfino2021-04-261-1/+1
|
* bpo-38093: Correctly returns AsyncMock for async subclasses. (GH-15947)Lisa Roach2019-09-201-14/+17
|
* bpo-37052: Add examples for mocking async iterators and context managers ↵Xtreak2019-09-101-0/+39
| | | | | | | | (GH-14660) Add examples for mocking asynchronous iterators and asynchronous context managers. https://bugs.python.org/issue37052
* bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)Serhiy Storchaka2019-06-011-2/+2
|
* bpo-35226: Fix equality for nested unittest.mock.call objects. (#10555)Chris Withers2018-12-031-0/+9
| | | | Also refactor the call recording imolementation and add some notes about its limitations.
* bpo-34962: make doctest in Doc/ now passes, and is enforced in CI (GH-9806)Stéphane Wirtel2018-10-121-26/+39
|
* Fix "Python" casing in a few places (GH-9001)Andrés Delfino2018-09-141-1/+1
|
* bpo-25910: Link redirections in docs (#1933)Sanyam Khurana2018-01-201-3/+3
| | | Fixes some redirection links in docs.
* Issue #26736: Used HTTPS for external links in the documentation if possible.Serhiy Storchaka2016-05-071-2/+2
|
* Issue #26688: Fix module name in mock docsBerker Peksag2016-04-021-3/+3
| | | | Patch by Ashley Anderson.
* Closes #25910: fix dead and permanently redirected links in the docs. Thanks ↵Georg Brandl2016-02-261-3/+3
| | | | to SilentGhost for the patch.
* Issue #26199: Fix broken link in unittest.mock-examples.rstBerker Peksag2016-01-281-1/+1
| | | | Patch by Raphael Das Gupta.
* Issue #22823: Use set literals instead of creating a set from a list.Serhiy Storchaka2014-12-111-12/+12
| | | | Fixed an output of sets in examples.
* unittest.mock docs: fix use of default roleGeorg Brandl2014-10-311-125/+125
|
* Fixing broken links in doc, part 3: the restGeorg Brandl2014-10-291-2/+2
|
* Fix external links to docs.python.org to use internal links instead.Georg Brandl2014-10-291-8/+5
|
* Use https:// URLs when referring to python.org hosts.Georg Brandl2014-10-291-5/+5
|
* Fix typo in example (#20963)Éric Araujo2014-03-171-2/+2
|
* Merge in all documentation changes since branching 3.4.0rc1.Larry Hastings2014-03-161-1/+1
|
* Merge with 3.3Terry Jan Reedy2014-01-211-2/+2
|\
| * Issue #20222: file is no longer a builtin in 3.x.Terry Jan Reedy2014-01-211-2/+2
| |
* | #17539: merge with 3.3.Ezio Melotti2013-03-301-3/+3
|\ \ | |/
| * #17539: fix MagicMock example. Patch by Berker Peksag.Ezio Melotti2013-03-301-3/+3
| |
* | #17351: merge with 3.3.Ezio Melotti2013-03-111-8/+8
|\ \ | |/
| * #17351: merge with 3.2.Ezio Melotti2013-03-111-8/+8
| |
* | merge with 3.3Georg Brandl2013-02-031-14/+14
|\ \ | |/
| * #17109: fix headings in mock example doc.Georg Brandl2013-02-031-14/+14
| |
* | Issue #17015: When it has a spec, a Mock object now inspects its signature ↵Antoine Pitrou2013-02-021-0/+14
|/ | | | when matching calls, so that arguments can be matched positionally or by name.
* Use correct methods in unittest.mock examples.Ezio Melotti2013-01-101-6/+6
|
* Closes issue 14636. mock objects raise exceptions from an iterable side_effectMichael Foord2012-04-211-50/+0
|
* Minor docstring / docs corrections for unittest.mockMichael Foord2012-04-131-1/+1
|
* Fix markup errors found by "make suspicious".Georg Brandl2012-04-011-1/+1
|
* Unsplit unittest.mock documentationMichael Foord2012-03-281-8/+417
|
* Adding unittest.mock documentationMichael Foord2012-03-251-0/+887