- c598a04 bpo-42532: Check if NonCallableMock's spec_arg is not None instead of call its __bool__ function (GH23613) by idanw206 · 3 years, 11 months ago
- 4662fa9 bpo-41877 Check for asert, aseert, assrt in mocks (GH-23165) by vabr-g · 4 years ago
- 521c8d6 bpo-39966: Revert "bpo-25597: Ensure wraps' return value is used for magic methods in MagicMock" (GH-19734) by Karthikeyan Singaravelan · 4 years, 6 months ago
- 4b222c9 bpo-40126: Fix reverting multiple patches in unittest.mock. (GH-19351) by Serhiy Storchaka · 4 years, 7 months ago
- e553f20 bpo-39915: Ensure await_args_list is updated according to the order in which coroutines were awaited (GH-18924) by Karthikeyan Singaravelan · 4 years, 8 months ago
- db5e86a Get mock coverage back to 100% (GH-18228) by Chris Withers · 4 years, 9 months ago
- a327677 bpo-39485: fix corner-case in method-detection of mock (GH-18252) by Carl Friedrich Bolz-Tereick · 4 years, 9 months ago
- c7dd3c7 Use relative imports in mock and its tests to help backporting (GH-18197) by Chris Withers · 4 years, 9 months ago
- 72b1004 bpo-25597: Ensure wraps' return value is used for magic methods in MagicMock (#16029) by Karthikeyan Singaravelan · 4 years, 9 months ago
- aef7dc8 bpo-38932: Mock fully resets child objects on reset_mock(). (GH-17409) by Vegard Stikbakke · 4 years, 9 months ago
- 40c0809 bpo-37955: correct mock.patch docs with respect to the returned type (GH-15521) by Paulo Henrique Silva · 4 years, 9 months ago
- 62865f4 bpo-39082: Allow AsyncMock to correctly patch static/class methods (GH-18116) by Matthew Kokotovich · 4 years, 9 months ago
- 66b00a9 bpo-38473: Handle autospecced functions and methods used with attach_mock (GH-16784) by Karthikeyan Singaravelan · 4 years, 9 months ago
- e131c97 Fix `mock.patch.dict` to be stopped with `mock.patch.stopall` (#17606) by Mario Corchero · 4 years, 9 months ago
- 31d6de5 remove unused __version__ from mock.py (#17977) by Chris Withers · 4 years, 10 months ago
- cd90a52 bpo-38669: patch.object now raises a helpful error (GH17034) by Elena Oat · 5 years ago
- 046442d bpo-38857: AsyncMock fix for awaitable values and StopIteration fix [3.8] (GH-17269) by Jason Fried · 5 years ago
- 3667e1e bpo-38163: Child mocks detect their type as sync or async (GH-16471) by Lisa Roach · 5 years ago
- 25e115e bpo-38161: Removes _AwaitEvent from AsyncMock. (GH-16443) by Lisa Roach · 5 years ago
- 9a7d951 bpo-38108: Makes mock objects inherit from Base (GH-16060) by Lisa Roach · 5 years ago
- 2180f6b bpo-36871: Avoid duplicated 'Actual:' in assertion message (GH-16361) by Samuel Freilich · 5 years ago
- b5a7a4f bpo-36871: Handle spec errors in assert_has_calls (GH-16005) by Samuel Freilich · 5 years ago
- ef04851 bpo-38136: Updates await_count and call_count to be different things (GH-16192) by Lisa Roach · 5 years ago
- 8b03f94 bpo-38093: Correctly returns AsyncMock for async subclasses. (GH-15947) by Lisa Roach · 5 years ago
- 5f5f11f bpo-37828: Fix default mock_name in unittest.mock.assert_called error (GH-16166) by Abraham Toriz Cruz · 5 years ago
- a9187c3 bpo-38100: Fix spelling error in unittest.mock code (GH-16168) by marcoramirezmx · 5 years ago
- 14fd925 bpo-38122: minor fixes to AsyncMock spec handling (GH-16099) by Michael Foord · 5 years ago
- d6a9d17 bpo-37555: Update _CallList.__contains__ to respect ANY (#14700) by Elizabeth Uselton · 5 years ago
- 72c3599 bpo-37972: unittest.mock._Call now passes on __getitem__ to the __getattr__ chaining so that call() can be subscriptable (GH-15565) by blhsing · 5 years ago
- f1a297a bpo-37251: Removes __code__ check from _is_async_obj. (GH-15830) by Lisa Roach · 5 years ago
- f5e7f39 docs: Add references to AsyncMock in unittest.mock.patch (#13681) by Mario Corchero · 5 years ago
- 9d60706 bpo-37212: Preserve keyword argument order in unittest.mock.call and error messages (GH-14310) by Xtreak · 5 years ago
- 0dac68f bpo-36743: __get__ is sometimes called without the owner argument (#12992) by Raymond Hettinger · 5 years ago
- f5896a0 bpo-35946: Improve assert_called_with documentation (GH-11796) by Rémi Lapeyre · 5 years ago
- c961278 bpo-36871: Ensure method signature is used when asserting mock calls to a method (GH13261) by Xtreak · 5 years ago
- 662db12 bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952) by Serhiy Storchaka · 5 years ago
- 7397cda bpo-21478: Record calls to parent when autospecced objects are used as child with attach_mock (GH 14688) by Xtreak · 5 years ago
- 2085bd0 bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) by Serhiy Storchaka · 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
- 436c2b0 bpo-36996: Handle async functions when mock.patch is used as a decorator (GH-13562) by Xtreak · 5 years ago
- ff6b2e6 bpo-37047: Refactor AsyncMock setup logic for autospeccing (GH-13574) by Xtreak · 5 years ago
- 394119a bpo-37008: make mock_open handle able to honor next() (GH-13492) by Damien Nadé · 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
- b9b08cd bpo-24758: Improve the error msg for unittest.mock.Mock()'s unsafe mode (#12991) by Zackery Spytz · 5 years ago
- 11a8832 bpo-31855: unittest.mock.mock_open() results now respects the argument of read([size]) (GH-11521) by Rémi Lapeyre · 5 years ago
- adbf178 Mock 100% coverage (GH-13045) by Chris Withers · 6 years ago
- 49e27f0 remove jython support from unittest.mock (GH#13033) by Chris Withers · 6 years ago
- 0df635c Don't report deleted attributes in __dir__ (GH#10148) by Mario Corchero · 6 years ago
- 9b21856 bpo-23078: Add support for {class,static}method to mock.create_autospec() (GH-11613) by Xtreak · 6 years ago
- 830b43d bpo-36593: Fix isinstance check for Mock objects with spec executed under tracing (GH-12790) by Xtreak · 6 years ago
- 02b84cb bpo-36366: Return None on stopping unstarted patch object (GH-12472) by Xtreak · 6 years ago
- b0df45e bpo-21269: Provide args and kwargs attributes on mock call objects GH11807 by Kumar Akshay · 6 years ago
- 9c3f284 Autospec functions should propagate mock calls to parent GH-11273 by Xtreak · 6 years ago
- a875ea5 bpo-35512: Resolve string target to patch.dict decorator during function call GH#12000 by Xtreak · 6 years ago
- 2bdd585 bpo-35500: align expected and actual calls on mock.assert_called_with error message. (GH-11804) by Susan Su · 6 years ago
- 222d303 bpo-20239: Allow repeated deletion of unittest.mock.Mock attributes (#11057) by Pablo Galindo · 6 years ago
- 71f82a2 Fix mock_open docstring to use readline (#11176) by Xtreak · 6 years ago
- f7fa62e bpo-17185: Add __signature__ to mock that can be used by inspect for signature (GH11048) by Xtreak · 6 years ago
- f05df0a bpo-35330: Don't call the wrapped object if `side_effect` is set (GH10973) by Mario Corchero · 6 years ago
- e63e617 bpo-35357: Add _mock_ prefix to name/parent/from_kall attributes of _Call/_MagicProxy. (#10873) by Andrew Dunai · 6 years ago
- 8ca0fa9 bpo-35226: Fix equality for nested unittest.mock.call objects. (#10555) by Chris Withers · 6 years ago
- edeca92 bpo-31177: Skip deleted attributes while calling reset_mock (GH-9302) by Xtreak · 6 years ago
- 34fd4c2 bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284) by Serhiy Storchaka · 6 years ago
- 47d9424 bpo-35047, unittest.mock: Better error messages on assert_called_xxx failures (GH-10090) by Petter Strandmark · 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
- 2087023 bpo-32933: Implement __iter__ method on mock_open() (GH-5974) by Tony Flury · 6 years ago
- 2b32da2 Improve error message when mock.assert_has_calls fails (GH-8205) by davidair · 6 years ago
- 9d6d06e pypi.python.org -> pypi.org (GH-7613) by Ned Deily · 6 years ago
- 6c4fab0 bpo-33516: Add support for __round__ in MagicMock (GH-6880) by John Reese · 6 years ago
- 552be9d bpo-30541: Add new method to seal mocks (GH61923) by Mario Corchero · 7 years ago
- 856cbcc bpo-29403: Fix mock's broken autospec behavior on method-bound builtin functions (GH-3) by Aaron Gallagher · 7 years ago
- 324c5d8 bpo-28911: Clarify the behaviour of assert_called_once_with. (#251) by Arne de Laat · 8 years ago
- 19dea2c Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY. by Serhiy Storchaka · 8 years ago
- a203360 Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY. by Serhiy Storchaka · 8 years ago
- 362f058 Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY. by Serhiy Storchaka · 8 years ago
- d9c956f Issue #20804: The unittest.mock.sentinel attributes now preserve their by Serhiy Storchaka · 8 years ago
- cd992bb Merge 3.6 by Victor Stinner · 8 years ago
- 84b6fb0 Fix unittest.mock._Call: don't ignore name by Victor Stinner · 8 years ago
- 161a4dd Issue #28919: Simplify _copy_func_details() in unittest.mock by Berker Peksag · 8 years ago
- ac5084b Fixes issue28380: unittest.mock Mock autospec functions now properly support by Gregory P. Smith · 8 years ago
- c35a32f Issue #26750: use inspect.isdatadescriptor instead of our own by Gregory P. Smith · 8 years ago
- d4583d7 Issue #26750: use inspect.isdatadescriptor instead of our own by Gregory P. Smith · 8 years ago
- d0d24fd Issue #26750: unittest.mock.create_autospec() now works properly for by Gregory P. Smith · 8 years ago
- 9854789 Issue #26750: unittest.mock.create_autospec() now works properly by Gregory P. Smith · 8 years ago
- 702f4f5 Issue #23804: Merge spelling and NEWS fixes from 3.5 by Martin Panter · 8 years ago
- 204bf0b English spelling and grammar fixes by Martin Panter · 8 years ago
- 6c85091 Issue #23641: Added __getnewargs_ex__ to the list of special mock attributes. by Serhiy Storchaka · 8 years ago
- 5943ea7 Issue #23641: Added __getnewargs_ex__ to the list of special mock attributes. by Serhiy Storchaka · 8 years ago
- 9cd39a1 Issue #21271: Adds new keyword only parameters in reset_mock call by Kushal Das · 8 years ago
- c85dd85 Issue #26807: mock_open 'files' no longer error on readline at end of file. by Robert Collins · 8 years ago
- 9549a3e Issue #26807: mock_open 'files' no longer error on readline at end of file. by Robert Collins · 8 years ago
- 5a6c018 Issue #25195: Fix a regression in mock.MagicMock by Berker Peksag · 9 years ago
- ce91387 Issue #25195: Fix a regression in mock.MagicMock by Berker Peksag · 9 years ago
- 2c2a4e6 Add Mock.assert_called() by Victor Stinner · 9 years ago
- 121edbf Issue25347 - Format the error message output of mock's assert_has_calls method. by Senthil Kumaran · 9 years ago
- 81bc927 Issue #22138: Fix mock.patch behavior when patching descriptors. Restore by Senthil Kumaran · 9 years ago
- 29bf4d4 Issue #24857: Comparing call_args to a long sequence now correctly returns a by Berker Peksag · 9 years ago