Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.11] bpo-38157: Add example about per file output for mock_open. ↵ | Miss Islington (bot) | 2023-09-07 | 1 | -0/+24 |
| | | | | | | | | | (GH-16090) (#109072) Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com> Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
* | [3.11] gh-101100: Fix sphinx warnings in `unittest.mock-examples.rst` ↵ | Nikita Sobolev | 2023-09-02 | 1 | -6/+7 |
| | | | | | (GH-108810) (#108812) (cherry picked from commit 5141b1ebe07ad54279e0770b4704eaf76f24951d) | ||||
* | [3.11] GH-103484: Fix redirected permanently URLs (GH-104001) (#104088) | Rafael Fontenelle | 2023-05-02 | 1 | -1/+1 |
| | | | | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Oleg Iarygin <dralife@yandex.ru> Fix redirected permanently URLs (#104001) | ||||
* | [3.11] Docs: Fix backtick errors found by sphinx-lint (GH-97998) (#98371) | C.A.M. Gerlach | 2022-10-17 | 1 | -1/+1 |
| | | | | | | | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>. (cherry picked from commit fa2d43e5184f5eaf3391844ec2400342a1b2ead4) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
* | [3.11] gh-92417: `unittest.mock` docs: remove references to Python <2.6 ↵ | Miss Islington (bot) | 2022-05-10 | 1 | -1/+1 |
| | | | | | | | | | | (GH-92539) (GH-92606) (cherry picked from commit 6823ba4a9ee1a88102e835c5a278904f35588675) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Automerge-Triggered-By: GH:serhiy-storchaka | ||||
* | Use the zero argument form of super() in examples for Python3 docs. (GH-22314) | Andre Delfino | 2021-04-26 | 1 | -1/+1 |
| | |||||
* | bpo-38093: Correctly returns AsyncMock for async subclasses. (GH-15947) | Lisa Roach | 2019-09-20 | 1 | -14/+17 |
| | |||||
* | bpo-37052: Add examples for mocking async iterators and context managers ↵ | Xtreak | 2019-09-10 | 1 | -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 Storchaka | 2019-06-01 | 1 | -2/+2 |
| | |||||
* | bpo-35226: Fix equality for nested unittest.mock.call objects. (#10555) | Chris Withers | 2018-12-03 | 1 | -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 Wirtel | 2018-10-12 | 1 | -26/+39 |
| | |||||
* | Fix "Python" casing in a few places (GH-9001) | Andrés Delfino | 2018-09-14 | 1 | -1/+1 |
| | |||||
* | bpo-25910: Link redirections in docs (#1933) | Sanyam Khurana | 2018-01-20 | 1 | -3/+3 |
| | | | Fixes some redirection links in docs. | ||||
* | Issue #26736: Used HTTPS for external links in the documentation if possible. | Serhiy Storchaka | 2016-05-07 | 1 | -2/+2 |
| | |||||
* | Issue #26688: Fix module name in mock docs | Berker Peksag | 2016-04-02 | 1 | -3/+3 |
| | | | | Patch by Ashley Anderson. | ||||
* | Closes #25910: fix dead and permanently redirected links in the docs. Thanks ↵ | Georg Brandl | 2016-02-26 | 1 | -3/+3 |
| | | | | to SilentGhost for the patch. | ||||
* | Issue #26199: Fix broken link in unittest.mock-examples.rst | Berker Peksag | 2016-01-28 | 1 | -1/+1 |
| | | | | Patch by Raphael Das Gupta. | ||||
* | Issue #22823: Use set literals instead of creating a set from a list. | Serhiy Storchaka | 2014-12-11 | 1 | -12/+12 |
| | | | | Fixed an output of sets in examples. | ||||
* | unittest.mock docs: fix use of default role | Georg Brandl | 2014-10-31 | 1 | -125/+125 |
| | |||||
* | Fixing broken links in doc, part 3: the rest | Georg Brandl | 2014-10-29 | 1 | -2/+2 |
| | |||||
* | Fix external links to docs.python.org to use internal links instead. | Georg Brandl | 2014-10-29 | 1 | -8/+5 |
| | |||||
* | Use https:// URLs when referring to python.org hosts. | Georg Brandl | 2014-10-29 | 1 | -5/+5 |
| | |||||
* | Fix typo in example (#20963) | Éric Araujo | 2014-03-17 | 1 | -2/+2 |
| | |||||
* | Merge in all documentation changes since branching 3.4.0rc1. | Larry Hastings | 2014-03-16 | 1 | -1/+1 |
| | |||||
* | Merge with 3.3 | Terry Jan Reedy | 2014-01-21 | 1 | -2/+2 |
|\ | |||||
| * | Issue #20222: file is no longer a builtin in 3.x. | Terry Jan Reedy | 2014-01-21 | 1 | -2/+2 |
| | | |||||
* | | #17539: merge with 3.3. | Ezio Melotti | 2013-03-30 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | #17539: fix MagicMock example. Patch by Berker Peksag. | Ezio Melotti | 2013-03-30 | 1 | -3/+3 |
| | | |||||
* | | #17351: merge with 3.3. | Ezio Melotti | 2013-03-11 | 1 | -8/+8 |
|\ \ | |/ | |||||
| * | #17351: merge with 3.2. | Ezio Melotti | 2013-03-11 | 1 | -8/+8 |
| | | |||||
* | | merge with 3.3 | Georg Brandl | 2013-02-03 | 1 | -14/+14 |
|\ \ | |/ | |||||
| * | #17109: fix headings in mock example doc. | Georg Brandl | 2013-02-03 | 1 | -14/+14 |
| | | |||||
* | | Issue #17015: When it has a spec, a Mock object now inspects its signature ↵ | Antoine Pitrou | 2013-02-02 | 1 | -0/+14 |
|/ | | | | when matching calls, so that arguments can be matched positionally or by name. | ||||
* | Use correct methods in unittest.mock examples. | Ezio Melotti | 2013-01-10 | 1 | -6/+6 |
| | |||||
* | Closes issue 14636. mock objects raise exceptions from an iterable side_effect | Michael Foord | 2012-04-21 | 1 | -50/+0 |
| | |||||
* | Minor docstring / docs corrections for unittest.mock | Michael Foord | 2012-04-13 | 1 | -1/+1 |
| | |||||
* | Fix markup errors found by "make suspicious". | Georg Brandl | 2012-04-01 | 1 | -1/+1 |
| | |||||
* | Unsplit unittest.mock documentation | Michael Foord | 2012-03-28 | 1 | -8/+417 |
| | |||||
* | Adding unittest.mock documentation | Michael Foord | 2012-03-25 | 1 | -0/+887 |