Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
a72de9338882b8013a4bb8adb930fe3308682e28
/
Doc
/
library
/
unittest.mock.rst
21f24ea
[3.8] bpo-38163: Child mocks detect their type as sync or async (GH-16471) (GH-16484)
by Lisa Roach
· 5 years ago
52bdd41
[3.8] bpo-38136: Updates await_count and call_count to be different things (GH-16192) (GH-16431)
by Lisa Roach
· 5 years ago
648494b
bpo-35685: Add examples of unittest.mock.patch.dict usage (GH-11456)
by Miss Islington (bot)
· 5 years ago
eaa1b09
docs: Add references to AsyncMock in unittest.mock.patch (GH-13681)
by Miss Islington (bot)
· 5 years ago
d4391aa
bpo-37383: Updates docs to reflect AsyncMock call_count after await. (GH-15761)
by Miss Islington (bot)
· 5 years ago
612d393
bpo-35946: Improve assert_called_with documentation (GH-11796)
by Miss Islington (bot)
· 5 years ago
2f087e2
Fix docs for assert_called and assert_called_once (GH-15219)
by Miss Islington (bot)
· 5 years ago
0ae022c
bpo-37075: Fix string concatenation in assert_has_awaits error message (GH-13616)
by Xtreak
· 5 years ago
0453081
bpo-32299: Return patched dict when using patch.dict as a context manager (GH-11062)
by Mario Corchero
· 5 years ago
ff6b2e6
bpo-37047: Refactor AsyncMock setup logic for autospeccing (GH-13574)
by Xtreak
· 5 years ago
e7cb23b
Fix RuntimeWarning in unittest.mock asyncio example (GH-13449)
by Xtreak
· 5 years ago
77b3b77
bpo-26467: Adds AsyncMock for asyncio Mock library support (GH-9296)
by Lisa Roach
· 5 years ago
b0df45e
bpo-21269: Provide args and kwargs attributes on mock call objects GH11807
by Kumar Akshay
· 6 years ago
dc69f69
Fix typo in unittest.mock documentation: manger -> manager (GH-12352)
by Joan Massich
· 6 years ago
d6acf17
Add example to the documentation for calling unittest.mock.patch with create=True (GH-11056)
by Pablo Galindo
· 6 years ago
8ca0fa9
bpo-35226: Fix equality for nested unittest.mock.call objects. (#10555)
by Chris Withers
· 6 years ago
6c83d9f
bpo-35022: unittest.mock.MagicMock now also supports __fspath__ (GH-9960)
by Max Bélanger
· 6 years ago
96200eb
unittest.mock doc: Fix references to recursive seal of Mocks (GH-9028)
by Mario Corchero
· 6 years ago
859c068
bpo-34962: make doctest in Doc/ now passes, and is enforced in CI (GH-9806)
by Stéphane Wirtel
· 6 years ago
271818f
Fix "Python" casing in a few places (GH-9001)
by Andrés Delfino
· 6 years ago
2087023
bpo-32933: Implement __iter__ method on mock_open() (GH-5974)
by Tony Flury
· 6 years ago
f85af03
Fix margin in sentinel and mock_open (GH-8188)
by Andrés Delfino
· 6 years ago
6c4fab0
bpo-33516: Add support for __round__ in MagicMock (GH-6880)
by John Reese
· 6 years ago
19177fb
bpo-33503: Fix the broken pypi link in the source and the documentation (GH-6814)
by Stéphane Wirtel
· 6 years ago
85ac726
Cleanup grammar in unittest.mock.seal documentation (#5107)
by Paul Ganssle
· 7 years ago
a5293b4
Fix miscellaneous typos (#4275)
by luzpaz
· 7 years ago
552be9d
bpo-30541: Add new method to seal mocks (GH61923)
by Mario Corchero
· 7 years ago
15033d1
Corrected grammar mistake in documentation (#1713)
by Ben Lloyd
· 7 years ago
324c5d8
bpo-28911: Clarify the behaviour of assert_called_once_with. (#251)
by Arne de Laat
· 8 years ago
d9c956f
Issue #20804: The unittest.mock.sentinel attributes now preserve their
by Serhiy Storchaka
· 8 years ago
989db5c
Issue #19795: Mark up None as literal text.
by Serhiy Storchaka
· 8 years ago
ecf41da
Issue #19795: Mark up None as literal text.
by Serhiy Storchaka
· 8 years ago
c29dd22
Issue #27531: Merge from 3.5
by Berker Peksag
· 8 years ago
ebf9fd3
Issue #27531: Update signature of Mock.assert_not_called method
by Berker Peksag
· 8 years ago
4da945f
Merge Issue #22558.
by Terry Jan Reedy
· 8 years ago
fa089b9
Issue #22558: Add remaining doc links to source code for Python-coded modules.
by Terry Jan Reedy
· 8 years ago
9cd39a1
Issue #21271: Adds new keyword only parameters in reset_mock call
by Kushal Das
· 8 years ago
8e72f50
Fix typos in mock and exceptions docs
by Berker Peksag
· 9 years ago
8fafc74
Fix typos in mock and exceptions docs
by Berker Peksag
· 9 years ago
2c2a4e6
Add Mock.assert_called()
by Victor Stinner
· 9 years ago
2eb819f
Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5
by Martin Panter
· 9 years ago
7462b649
Issue #25523: Correct "a" article to "an" article
by Martin Panter
· 9 years ago
619b283
Use print function in mock docs.
by Berker Peksag
· 9 years ago
920f6db
Use print function in mock docs.
by Berker Peksag
· 9 years ago
f79dfe3
Add versionchanged information for mock_open.
by Robert Collins
· 9 years ago
ca647ef
Issue #21750: Further fixup to be styled like other mock APIs.
by Robert Collins
· 9 years ago
7039839
Add versionchanged information for mock_open.
by Robert Collins
· 9 years ago
88ba360
Issue #21750: Further fixup to be styled like other mock APIs.
by Robert Collins
· 9 years ago
e36402a
Fix usage of the default role.
by Zachary Ware
· 9 years ago
5c676f6
Fix suspicious markup
by Zachary Ware
· 9 years ago
c2ccce7
Issue #23641: Cleaned out legacy dunder names from tests and docs.
by Serhiy Storchaka
· 10 years ago
a60c2fe
Issue #23641: Cleaned out legacy dunder names from tests and docs.
by Serhiy Storchaka
· 10 years ago
610bc6a
merge 3.4 (#23221)
by Benjamin Peterson
· 10 years ago
82f34ad
fix instances of consecutive articles (closes #23221)
by Benjamin Peterson
· 10 years ago
a65766e
Issue #20487: Clarify meaning of "side effect" in the magic mock documentation.
by Berker Peksag
· 10 years ago
283f1aa
Issue #20487: Clarify meaning of "side effect" in the magic mock documentation.
by Berker Peksag
· 10 years ago
e21a531
merge with 3.4
by Georg Brandl
· 10 years ago
8ed75cd
#22613: minor other fixes in library docs (thanks Jacques Ducasse)
by Georg Brandl
· 10 years ago
4433ff9
unittest.mock docs: fix use of default role
by Georg Brandl
· 10 years ago
7ad3df6
unittest.mock docs: fix use of default role
by Georg Brandl
· 10 years ago
cadc3fd
Merge with 3.4
by Georg Brandl
· 10 years ago
e73778c
Use https:// URLs when referring to python.org hosts.
by Georg Brandl
· 10 years ago
8af9db3
Closes Issue 21262: New method assert_not_called for Mock.
by Kushal Das
· 11 years ago
8c14534
Closes Issue 21238: New keyword argument `unsafe` to Mock.
by Kushal Das
· 11 years ago
fddcfa2
Closes issue 17660. You no longer need to explicitly pass create=True when patching builtin names.
by Michael Foord
· 11 years ago
3732ed2
Merge in all documentation changes since branching 3.4.0rc1.
by Larry Hastings
· 11 years ago
9846898
Close #20759: Fix some typos in the mock docs. (Merge with 3.3)
by Zachary Ware
· 11 years ago
5ea5d2c
Issue #20759: Fix some typos in the mock docs.
by Zachary Ware
· 11 years ago
f47036c
Removed spaces before colons and semicolons.
by Serhiy Storchaka
· 11 years ago
89e84e7
Removed spaces before colons and semicolons.
by Serhiy Storchaka
· 11 years ago
0e90e99
Issue #19795: Improved markup of True/False constants.
by Serhiy Storchaka
· 11 years ago
fbc1c26
Issue #19795: Improved markup of True/False constants.
by Serhiy Storchaka
· 11 years ago
98b28fd
Issue #18758: Fixed and improved cross-references.
by Serhiy Storchaka
· 11 years ago
bfdcd43
Issue #18758: Fixed and improved cross-references.
by Serhiy Storchaka
· 11 years ago
bbbf191
Issue #18743: Fix references to non-existant "StringIO" module.
by Serhiy Storchaka
· 11 years ago
e79be87
Issue #18743: Fix references to non-existant "StringIO" module.
by Serhiy Storchaka
· 11 years ago
533f1ed
Add a missing parenthesis.
by Brett Cannon
· 11 years ago
21cc628
merge
by Brett Cannon
· 11 years ago
04cbe0c
Closes issue 17467. Add readline and readlines support to unittest.mock.mock_open
by Michael Foord
· 12 years ago
35266f7
Merge
by Michael Foord
· 12 years ago
f575230
Documentation corrections for unittest.mock
by Michael Foord
· 12 years ago
8b53559
Merge with 3.3, issue #17047: remove doubled words added in 3.3,
by Terry Jan Reedy
· 12 years ago
0f84764
Issue #17047: remove doubled words added in 3.3
by Terry Jan Reedy
· 12 years ago
a41fb4b
#17351: merge with 3.3.
by Ezio Melotti
· 12 years ago
c9cfcf1
#17351: merge with 3.2.
by Ezio Melotti
· 12 years ago
ecfb963
merge with 3.3
by Georg Brandl
· 12 years ago
fb13438
Closes #17109: fix heading levels in mock doc.
by Georg Brandl
· 12 years ago
5c64df7
Issue #17015: When it has a spec, a Mock object now inspects its signature when matching calls, so that arguments can be matched positionally or by name.
by Antoine Pitrou
· 12 years ago
7ea6f70
Fix typo in mock docs.
by Andrew Svetlov
· 12 years ago
28d591c
Closes issue 15323. Improve failure message of Mock.assert_called_once_with
by Michael Foord
· 12 years ago
911fd32
unittest.mock minor doc update
by Michael Foord
· 12 years ago
f7c4158
Adding patch.stopall method to unittest.mock
by Michael Foord
· 12 years ago
2cd4873
Closes issue 14636. mock objects raise exceptions from an iterable side_effect
by Michael Foord
· 13 years ago
0682a0c
Minor docstring / docs corrections for unittest.mock
by Michael Foord
· 13 years ago
c287062
unittest.mock.PropertyMock return value and attributes are now standard MagicMocks
by Michael Foord
· 13 years ago
2489167
Fix markup errors found by "make suspicious".
by Georg Brandl
· 13 years ago
e55f663
Fix typo in unittest.mock docs
by Michael Foord
· 13 years ago
324b58b
Update unittest.mock.patch example
by Michael Foord
· 13 years ago
2309ed8
Re-order unittest.mock documentation to put magic method support before the helpers
by Michael Foord
· 13 years ago
9015536
Adding an example to unittest.mock.patch documentation
by Michael Foord
· 13 years ago
Next »