index
:
cpython.git
2.7
3.3
3.4
3.5
3.6
benjamin-clang
benjamin-iteration-torture
buildbot-custom
master
https://github.com/python/cpython.git
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
Lib
/
unittest
/
mock.py
Commit message (
Expand
)
Author
Age
Files
Lines
*
gh-111019: Align expected and actual titles in test output (#111020)
James
2023-10-18
1
-3/+3
*
Remove unused branches from mock module (#106617)
Chris Withers
2023-07-11
1
-6/+1
*
GH-61215: threadingmock: Remove unused branch for `timeout` (#106591)
Mario Corchero
2023-07-10
1
-3/+1
*
gh-61215: Rename `wait_until_any_call` to `wait_until_any_call_with` (#106414)
Mario Corchero
2023-07-04
1
-1/+1
*
gh-61215: New mock to wait for multi-threaded events to happen (#16094)
Mario Corchero
2023-07-03
1
-0/+94
*
bpo-44185: Added close() to mock_open __exit__ (#26902)
Samet YASLAN
2023-06-11
1
-0/+4
*
gh-94924: support `inspect.iscoroutinefunction` in `create_autospec(async_def...
Thomas Grainger
2023-06-09
1
-2/+30
*
gh-85934: Use getattr_static when adding mock spec (#22209)
melanie witt
2023-05-23
1
-1/+7
*
gh-102978: Fix mock.patch function signatures for class and staticmethod deco...
Tomas R
2023-04-13
1
-0/+6
*
gh-96127: Fix `inspect.signature` call on mocks (#96335)
Nikita Sobolev
2023-01-07
1
-1/+9
*
gh-100690: [mock] hide `ATTRIB_DENY_LIST` and make it immutable (#100819)
Nikita Sobolev
2023-01-07
1
-2/+6
*
gh-100690: Raise an AttributeError when the assert_ prefix is forgotten when ...
Christian Klein
2023-01-06
1
-4/+10
*
gh-100739: Respect mock spec when checking for unsafe prefixes (#100740)
Christian Klein
2023-01-04
1
-1/+1
*
gh-100287: Fix unittest.mock.seal with AsyncMock (#100496)
Shantanu
2022-12-24
1
-4/+4
*
gh-83076: 3.8x speed improvement in (Async)Mock instantiation (#100252)
Carl Meyer
2022-12-23
1
-16/+22
*
gh-98086: Now ``patch.dict`` can decorate async functions (#98095)
Nikita Sobolev
2022-11-11
1
-0/+18
*
gh-91803: Mock - fix error when using autospec methods with seal (#92213)
andrei kulakov
2022-11-07
1
-0/+1
*
gh-98624 Add mutex to unittest.mock.NonCallableMock (#98688)
noah-weingarden
2022-10-28
1
-28/+38
*
gh-84753: Make inspect.iscoroutinefunction() work with AsyncMock (#94050)
Mehdi ABAAKOUK
2022-06-30
1
-0/+4
*
bpo-46852: Remove the float.__set_format__() method (GH-31585)
Victor Stinner
2022-02-25
1
-1/+1
*
Restrict use of Mock objects as specs (GH-31090)
Matthew Suozzo
2022-02-03
1
-1/+9
*
bpo-41403: Improve error message for invalid mock target (GH-30833)
Irit Katriel
2022-01-23
1
-3/+3
*
bpo-45156: Fixes inifite loop on unittest.mock.seal() (GH-28300)
Nikita Sobolev
2021-09-14
1
-6/+7
*
bpo-45010: Remove support of special method __div__ in unittest.mock (GH-27965)
Serhiy Storchaka
2021-08-26
1
-1/+1
*
bpo-44686 replace unittest.mock._importer with pkgutil.resolve_name (GH-18544)
Thomas Grainger
2021-07-21
1
-23/+4
*
bpo-44534: fix wording and docstring sync in unittest.Mock GH27000
Jack DeVries
2021-07-05
1
-0/+5
*
Fix typos in multiple files (GH-26689)
Binbin
2021-06-13
1
-1/+1
*
bpo-43478: Restrict use of Mock objects as specs (GH-25326)
Matthew Suozzo
2021-04-10
1
-4/+38
*
bpo-41877: Check for misspelled speccing arguments (GH-23737)
vabr-g
2020-12-14
1
-8/+31
*
bpo-41877: Improve docs for assert misspellings check in mock (GH-23729)
vabr-g
2020-12-10
1
-2/+3
*
bpo-42532: Check if NonCallableMock's spec_arg is not None instead of call it...
idanw206
2020-12-06
1
-1/+1
*
bpo-41877 Check for asert, aseert, assrt in mocks (GH-23165)
vabr-g
2020-11-05
1
-2/+2
*
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-21
1
-25/+37
*
bpo-38163: Child mocks detect their type as sync or async (GH-16471)
Lisa Roach
2019-09-30
1
-2/+3
*
bpo-38161: Removes _AwaitEvent from AsyncMock. (GH-16443)
Lisa Roach
2019-09-30
1
-36/+0
*
bpo-38108: Makes mock objects inherit from Base (GH-16060)
Lisa Roach
2019-09-29
1
-36/+19
[next]