- 9fc5713 bpo-41877: Improve docs for assert misspellings check in mock (GH-23729) by vabr-g · 3 years, 9 months ago
- c598a04 bpo-42532: Check if NonCallableMock's spec_arg is not None instead of call its __bool__ function (GH23613) by idanw206 · 3 years, 9 months ago
- 4662fa9 bpo-41877 Check for asert, aseert, assrt in mocks (GH-23165) by vabr-g · 3 years, 10 months 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, 4 months ago
- 4b222c9 bpo-40126: Fix reverting multiple patches in unittest.mock. (GH-19351) by Serhiy Storchaka · 4 years, 5 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, 6 months ago
- db5e86a Get mock coverage back to 100% (GH-18228) by Chris Withers · 4 years, 7 months ago
- a46575a Clarify and fix assertions that mocks have not been awaited (GH-18196) by Chris Withers · 4 years, 7 months ago
- c7dd3c7 Use relative imports in mock and its tests to help backporting (GH-18197) by Chris Withers · 4 years, 7 months ago
- 72b1004 bpo-25597: Ensure wraps' return value is used for magic methods in MagicMock (#16029) by Karthikeyan Singaravelan · 4 years, 7 months ago
- aef7dc8 bpo-38932: Mock fully resets child objects on reset_mock(). (GH-17409) by Vegard Stikbakke · 4 years, 7 months ago
- 62865f4 bpo-39082: Allow AsyncMock to correctly patch static/class methods (GH-18116) by Matthew Kokotovich · 4 years, 7 months ago
- 66b00a9 bpo-38473: Handle autospecced functions and methods used with attach_mock (GH-16784) by Karthikeyan Singaravelan · 4 years, 7 months ago
- e131c97 Fix `mock.patch.dict` to be stopped with `mock.patch.stopall` (#17606) by Mario Corchero · 4 years, 7 months ago
- 1d0c5e1 bpo-24928: Add test case for patch.dict using OrderedDict (GH -11437) by Emmanuel Arias · 4 years, 7 months ago
- 54f743e Improve test coverage for AsyncMock. (GH-17906) by Karthikeyan Singaravelan · 4 years, 8 months ago
- cd90a52 bpo-38669: patch.object now raises a helpful error (GH17034) by Elena Oat · 4 years, 9 months ago
- 046442d bpo-38857: AsyncMock fix for awaitable values and StopIteration fix [3.8] (GH-17269) by Jason Fried · 4 years, 9 months ago
- 892221b bpo-38839: Fix some unused functions in tests (GH-17189) by Adam Johnson · 4 years, 10 months 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
- 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
- 9d60706 bpo-37212: Preserve keyword argument order in unittest.mock.call and error messages (GH-14310) by Xtreak · 5 years ago
- aa51508 Fix assertions regarding magic methods function body that was not executed (GH-14154) by Xtreak · 5 years ago
- 39d87b5 Fix typos mostly in comments, docs and test names (GH-15209) by Min ho Kim · 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
- c4cacc8 Fix typos in comments, docs and test names (#15018) by Min ho Kim · 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
- 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
- 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 · 5 years ago
- 49e27f0 remove jython support from unittest.mock (GH#13033) by Chris Withers · 5 years ago
- 0df635c Don't report deleted attributes in __dir__ (GH#10148) by Mario Corchero · 5 years ago
- d5d2b45 bpo-36751: Deprecate getfullargspec and report positional-only args as regular args (GH-13016) by Pablo Galindo · 5 years ago
- 9b21856 bpo-23078: Add support for {class,static}method to mock.create_autospec() (GH-11613) by Xtreak · 5 years ago
- 830b43d bpo-36593: Fix isinstance check for Mock objects with spec executed under tracing (GH-12790) by Xtreak · 5 years ago
- 02b84cb bpo-36366: Return None on stopping unstarted patch object (GH-12472) by Xtreak · 5 years ago
- b0df45e bpo-21269: Provide args and kwargs attributes on mock call objects GH11807 by Kumar Akshay · 5 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
- 5a718e9 Add test for double patching instance methods (#11085) by Anthony Sottile · 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
- 3cf7438 bpo-33747: Avoid mutating the global sys.modules dict in unittest.mock tests (GH-8520) by Anirudha Bose · 6 years ago
- 2042852 Remove unused function in `testmock/support.py` (GH-10975) 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
- c667b09 bpo-32153: Add unit test for create_autospec with partial function returned in getattr (#10398) by Xtreak · 6 years ago
- edeca92 bpo-31177: Skip deleted attributes while calling reset_mock (GH-9302) by Xtreak · 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
- 2087023 bpo-32933: Implement __iter__ method on mock_open() (GH-5974) by Tony Flury · 6 years ago
- 6c4fab0 bpo-33516: Add support for __round__ in MagicMock (GH-6880) by John Reese · 6 years ago
- 53f7a7c bpo-32297: Few misspellings found in Python source code comments. (#4803) by Mike · 7 years ago
- 552be9d bpo-30541: Add new method to seal mocks (GH61923) by Mario Corchero · 7 years ago
- 49b2734 Spelling fixes (#2902) by Ville Skyttä · 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
- 5aa3856 bpo-28961: Address my comments from earlier code review (#305) by Berker Peksag · 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
- 84b6fb0 Fix unittest.mock._Call: don't ignore name by Victor Stinner · 8 years ago
- ac5084b Fixes issue28380: unittest.mock Mock autospec functions now properly support by Gregory P. Smith · 8 years ago
- 0be894b Issue #27895: Spelling fixes (Contributed by Ville Skyttä). by Martin Panter · 8 years ago
- 15f44ab Issue #27895: Spelling fixes (Contributed by Ville Skyttä). by Raymond Hettinger · 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
- 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
- e437a10 Issue #23277: Remove unused imports in tests. by Serhiy Storchaka · 8 years ago
- 1e8ee9b Issue #23277: Remove unused sys and os imports by Berker Peksag · 8 years ago
- 5a6c018 Issue #25195: Fix a regression in mock.MagicMock by Berker Peksag · 8 years ago
- ce91387 Issue #25195: Fix a regression in mock.MagicMock by Berker Peksag · 8 years ago
- 2c2a4e6 Add Mock.assert_called() by Victor Stinner · 8 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
- 3fc536f Issue #24857: Comparing call_args to a long sequence now correctly returns a by Berker Peksag · 9 years ago
- 86b34da Issue #23004: mock_open() now reads binary data correctly when the type of read_data is bytes. by Berker Peksag · 9 years ago
- ca647ef Issue #21750: Further fixup to be styled like other mock APIs. by Robert Collins · 9 years ago
- 5329aaa Issue #21750: mock_open.read_data can now be read from each instance, as it by Robert Collins · 9 years ago
- b37f43f - Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely. by Robert Collins · 9 years ago