index
:
delta/cpython-git.git
2.7
3.10
3.11
3.4
3.5
3.6
3.7
3.7-readme-update
3.8
3.9
Mariatta-patch-1
Mariatta-patch-2
alex-patch-1
ast-new-type-comment-null-check
backport-0613c1e-3.7
backport-10654c1-3.7
backport-109d966-3.9
backport-24bcefc-3.6
backport-24bcefc-3.7
backport-24bcefc-3.8
backport-24bd50b-2.7
backport-24bd50b-3.6
backport-283f9a2-3.6
backport-51c3e28-3.10
backport-51c3e28-3.8
backport-52d1b86-3.6
backport-52f9842-3.9
backport-5a88d50-3.8
backport-5a8d121-3.5
backport-5bdab64-3.7
backport-6ec0dec-3.9
backport-704e2d3-2.7
backport-731ff68-3.6
backport-73d6002-3.7
backport-74ae50e-2.7
backport-74ae50e-3.7
backport-76b5d71-3.9
backport-8acd0e0-3.9
backport-8ed6503-3.8
backport-916610e-3.6
backport-916610e-3.7
backport-95da310-3.8
backport-adf24bd-3.8
backport-adf24bd-3.9
backport-cd16661-2.7
backport-eeab510-2.7
backport-eeab510-3.6
backport-eeab510-3.7
backport-f7955a8-3.10
backport-f7955a8-3.9
backport-ff023ed-3.8
benjamin-eval-loop-edit
benjamin-expat-2.2.6
benjamin-external-zip
benjamin-interp-initialize
benjamin-keyword-restriction
benjamin-musl-z-workaround
benjamin-pickle-overflow
benjamin-prlimit-permission-test
benjamin-pyapi
benjamin-tanh-zero
benjamin-traceback-obo
berkerpeksag-update-codeowners
bind-socket
bpo-37741-importlib-metadata-docs-visible
bpo-39107
bpo-39235-genexp-endloc
bpo-41855-backport-fix
bpo-42057
bpo-43428/importlib-metadata-3.7
bpo-43569/man-as-machine
bpo-43780/importlib_metadata-3.10
bpo-43856/importlib-metadata-new
bpo-43926/importlib-metadata-4
bpo-45419
bpo-45514/deprecate-importlib-resources-legacy
bpo-45765/metadata-distribution-empty-path
bpo-46118/resources-package
bpo-46124/zoneinfo-resources
bpo-46125/importlib-resources-test-traversable
bpo-46126/bad-error-message
bpo-46425/restore-simple-importlib-tests
bpo-46474/entrypoint-regex
bpo-46474/entrypoint-regex-fix
branch-v3.10.0
branch-v3.9.0
bugfix/16396-linux-wintypes-importable
buildbot-custom
cjw296-patch-1
constant-kind
datetime_backport_test
dependabot/github_actions/actions/cache-2.1.7
dependabot/github_actions/actions/cache-v2.1.3
dependabot/github_actions/actions/cache-v2.1.4
dependabot/github_actions/actions/cache-v2.1.5
dependabot/github_actions/actions/upload-artifact-2.3.1
dependabot/github_actions/actions/upload-artifact-v2.2.1
dependabot/github_actions/actions/upload-artifact-v2.2.2
dependabot/github_actions/actions/upload-artifact-v2.2.3
descr-howto-feedback
enum-lost-fixes
enum-private-310
ethanfurman-acks
faster-bytes-iter
feature-version
feature/42129-resources-namespace-packages
feature/putrequest-hooks
fedora-2.7
find_module-deprecation-windows
fix-cf-feature-versiob
fix-cf-feature-version
fix-cf-feature-version-38
fix-cf-feature-version-39
fix-misc-acks
fix-misc-acks-38
fix-misc-acks-sort
fix-namedexpr-comment
fix-req-type
fix-segfaults
fix-time_ns-link
fix-tok-type-comments-flag
fix-traceback-syntax-error
fixup-bpo-34003
importlib_metadata-3.3
main
master
misc-acks-comment
mp-manager-tests
ncoghlan-bpo-33499-whats-new
ncoghlan-clarify-U-mode-deprecation
ncoghlan-fix-versionchanged-note
ncoghlan-whatsnew-38-placeholder-notes
orphaned-comment
pep572
pipelines-badge-3.6
pipelines-readme-3.7
pr_18370
pr_27789
pr_4170
print-statement
readme-update
refactor-lambda-parameters
revert-10245-msix
revert-10341-patch-7
revert-11293-bpo35565
revert-11318-fast-enum
revert-11341-bpo35603
revert-11477-backport-cbb1645-3.6
revert-11482-backport-cbb1645-2.7
revert-13569-undo-ea2b76bdc5f97f49701213d105b8ec2387ea2fa5
revert-13599-codeowner
revert-13893-fix-issue-37193
revert-14522-remove_unused_imports37
revert-15687-backport-87bd207-3.7
revert-15895-named_tuple_concept
revert-16839-backport-5a88d50-3.8
revert-17659-utf8-buffer
revert-17774-issue27973-win-fix
revert-19108-remove-cElementTree
revert-22049-bpo-1635741-signalmodule
revert-22513-update_test_codecs
revert-22997-tempfile-overhead
revert-23107-revert-13893-fix-issue-37193
revert-23398-bpo-1635741-struct
revert-23827-backport-dcc997c-3.9
revert-23828-backport-dcc997c-3.8
revert-23917-enum-prepare_kwds
revert-24821-fix/bigint_freelist
revert-25103-binary-locale
revert-25134-regen_stable_abi
revert-28650-revert-28615-test-datetime-discover
revert-28660-revert-gh28645
revert-29124-bpo-44019
revert-30472-issue-46301
revert-6121-is_integer
revert-7960-backport-2cc9d21-3.7
revert-9703-master
soft-keywords
suspcious
sync-39-whatsnew
travis-3.5
travis-3.6
travis-macOS
type-comments
unixdeepfreeze
v3.8.4
whatsnew-617
windeepfreeze
zhangyangyu-patch-1
zooba-patch-1
github.com: python/cpython.git
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
Lib
/
unittest
/
mock.py
Commit message (
Expand
)
Author
Age
Files
Lines
*
bpo-39966: Revert "bpo-25597: Ensure wraps' return value is used for magic me...
Karthikeyan Singaravelan
2020-04-28
1
-6
/
+0
*
bpo-40126: Fix reverting multiple patches in unittest.mock. (GH-19351)
Serhiy Storchaka
2020-04-11
1
-48
/
+26
*
bpo-39915: Ensure await_args_list is updated according to the order in which ...
Karthikeyan Singaravelan
2020-03-11
1
-1
/
+1
*
Get mock coverage back to 100% (GH-18228)
Chris Withers
2020-01-29
1
-13
/
+4
*
bpo-39485: fix corner-case in method-detection of mock (GH-18252)
Carl Friedrich Bolz-Tereick
2020-01-29
1
-5
/
+1
*
Use relative imports in mock and its tests to help backporting (GH-18197)
Chris Withers
2020-01-27
1
-8
/
+9
*
bpo-25597: Ensure wraps' return value is used for magic methods in MagicMock ...
Karthikeyan Singaravelan
2020-01-27
1
-0
/
+6
*
bpo-38932: Mock fully resets child objects on reset_mock(). (GH-17409)
Vegard Stikbakke
2020-01-25
1
-1
/
+1
*
bpo-37955: correct mock.patch docs with respect to the returned type (GH-15521)
Paulo Henrique Silva
2020-01-25
1
-1
/
+2
*
bpo-39082: Allow AsyncMock to correctly patch static/class methods (GH-18116)
Matthew Kokotovich
2020-01-25
1
-0
/
+2
*
bpo-38473: Handle autospecced functions and methods used with attach_mock (GH...
Karthikeyan Singaravelan
2020-01-24
1
-0
/
+4
*
Fix `mock.patch.dict` to be stopped with `mock.patch.stopall` (#17606)
Mario Corchero
2020-01-24
1
-2
/
+17
*
remove unused __version__ from mock.py (#17977)
Chris Withers
2020-01-13
1
-2
/
+0
*
bpo-38669: patch.object now raises a helpful error (GH17034)
Elena Oat
2019-12-08
1
-0
/
+4
*
bpo-38857: AsyncMock fix for awaitable values and StopIteration fix [3.8] (GH...
Jason Fried
2019-11-20
1
-25
/
+37
*
bpo-38163: Child mocks detect their type as sync or async (GH-16471)
Lisa Roach
2019-09-29
1
-2
/
+3
*
bpo-38161: Removes _AwaitEvent from AsyncMock. (GH-16443)
Lisa Roach
2019-09-29
1
-36
/
+0
*
bpo-38108: Makes mock objects inherit from Base (GH-16060)
Lisa Roach
2019-09-28
1
-36
/
+19
*
bpo-36871: Avoid duplicated 'Actual:' in assertion message (GH-16361)
Samuel Freilich
2019-09-24
1
-2
/
+2
*
bpo-36871: Handle spec errors in assert_has_calls (GH-16005)
Samuel Freilich
2019-09-24
1
-5
/
+21
*
bpo-38136: Updates await_count and call_count to be different things (GH-16192)
Lisa Roach
2019-09-23
1
-0
/
+10
*
bpo-38093: Correctly returns AsyncMock for async subclasses. (GH-15947)
Lisa Roach
2019-09-19
1
-6
/
+12
*
bpo-37828: Fix default mock_name in unittest.mock.assert_called error (GH-16166)
Abraham Toriz Cruz
2019-09-17
1
-1
/
+1
*
bpo-38100: Fix spelling error in unittest.mock code (GH-16168)
marcoramirezmx
2019-09-16
1
-3
/
+3
*
bpo-38122: minor fixes to AsyncMock spec handling (GH-16099)
Michael Foord
2019-09-13
1
-11
/
+8
*
bpo-37555: Update _CallList.__contains__ to respect ANY (#14700)
Elizabeth Uselton
2019-09-13
1
-11
/
+28
*
bpo-37972: unittest.mock._Call now passes on __getitem__ to the __getattr__ c...
blhsing
2019-09-11
1
-0
/
+6
*
bpo-37251: Removes __code__ check from _is_async_obj. (GH-15830)
Lisa Roach
2019-09-10
1
-3
/
+2
*
docs: Add references to AsyncMock in unittest.mock.patch (#13681)
Mario Corchero
2019-09-09
1
-4
/
+5
*
bpo-37212: Preserve keyword argument order in unittest.mock.call and error me...
Xtreak
2019-09-09
1
-1
/
+1
*
bpo-36743: __get__ is sometimes called without the owner argument (#12992)
Raymond Hettinger
2019-08-29
1
-1
/
+1
*
bpo-35946: Improve assert_called_with documentation (GH-11796)
Rémi Lapeyre
2019-08-29
1
-1
/
+1
*
bpo-36871: Ensure method signature is used when asserting mock calls to a met...
Xtreak
2019-08-29
1
-1
/
+35
*
bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952)
Serhiy Storchaka
2019-08-08
1
-3
/
+1
*
bpo-21478: Record calls to parent when autospecced objects are used as child ...
Xtreak
2019-07-22
1
-11
/
+16
*
bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)
Serhiy Storchaka
2019-06-01
1
-48
/
+34
*
bpo-37075: Fix string concatenation in assert_has_awaits error message (GH-13...
Xtreak
2019-05-29
1
-5
/
+5
*
bpo-32299: Return patched dict when using patch.dict as a context manager (GH...
Mario Corchero
2019-05-28
1
-0
/
+1
*
bpo-36996: Handle async functions when mock.patch is used as a decorator (GH-...
Xtreak
2019-05-28
1
-27
/
+57
*
bpo-37047: Refactor AsyncMock setup logic for autospeccing (GH-13574)
Xtreak
2019-05-27
1
-21
/
+38
*
bpo-37008: make mock_open handle able to honor next() (GH-13492)
Damien Nadé
2019-05-23
1
-0
/
+6
*
Fix RuntimeWarning in unittest.mock asyncio example (GH-13449)
Xtreak
2019-05-21
1
-1
/
+1
*
bpo-26467: Adds AsyncMock for asyncio Mock library support (GH-9296)
Lisa Roach
2019-05-20
1
-17
/
+389
*
bpo-24758: Improve the error msg for unittest.mock.Mock()'s unsafe mode (#12991)
Zackery Spytz
2019-05-08
1
-1
/
+2
*
bpo-31855: unittest.mock.mock_open() results now respects the argument of rea...
Rémi Lapeyre
2019-05-07
1
-25
/
+14
*
Mock 100% coverage (GH-13045)
Chris Withers
2019-05-01
1
-56
/
+5
*
remove jython support from unittest.mock (GH#13033)
Chris Withers
2019-05-01
1
-9
/
+2
*
Don't report deleted attributes in __dir__ (GH#10148)
Mario Corchero
2019-04-30
1
-2
/
+4
*
bpo-23078: Add support for {class,static}method to mock.create_autospec() (G...
Xtreak
2019-04-22
1
-1
/
+3
*
bpo-36593: Fix isinstance check for Mock objects with spec executed under tra...
Xtreak
2019-04-13
1
-1
/
+1
[next]