| Commit message (Expand) | Author | Age | Files | Lines |
* | bpo-38669: patch.object now raises a helpful error (GH17034) | Elena Oat | 2019-12-08 | 2 | -0/+8 |
|
|
* | bpo-38857: AsyncMock fix for awaitable values and StopIteration fix [3.8] (GH... | Jason Fried | 2019-11-21 | 2 | -41/+95 |
|
|
* | Remove binding of captured exceptions when not used to reduce the chances of ... | Pablo Galindo | 2019-11-19 | 1 | -1/+1 |
|
|
* | bpo-38839: Fix some unused functions in tests (GH-17189) | Adam Johnson | 2019-11-19 | 1 | -0/+1 |
|
|
* | bpo-38163: Child mocks detect their type as sync or async (GH-16471) | Lisa Roach | 2019-09-30 | 2 | -27/+45 |
|
|
* | bpo-38161: Removes _AwaitEvent from AsyncMock. (GH-16443) | Lisa Roach | 2019-09-30 | 2 | -39/+1 |
|
|
* | bpo-38108: Makes mock objects inherit from Base (GH-16060) | Lisa Roach | 2019-09-29 | 3 | -57/+56 |
|
|
* | bpo-36871: Avoid duplicated 'Actual:' in assertion message (GH-16361) | Samuel Freilich | 2019-09-24 | 3 | -18/+32 |
|
|
* | bpo-36871: Handle spec errors in assert_has_calls (GH-16005) | Samuel Freilich | 2019-09-24 | 3 | -5/+61 |
|
|
* | bpo-38136: Updates await_count and call_count to be different things (GH-16192) | Lisa Roach | 2019-09-24 | 3 | -18/+191 |
|
|
* | bpo-38093: Correctly returns AsyncMock for async subclasses. (GH-15947) | Lisa Roach | 2019-09-20 | 3 | -55/+161 |
|
|
* | bpo-37828: Fix default mock_name in unittest.mock.assert_called error (GH-16166) | Abraham Toriz Cruz | 2019-09-17 | 2 | -1/+9 |
|
|
* | 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 | 3 | -13/+79 |
|
|
* | bpo-37972: unittest.mock._Call now passes on __getitem__ to the __getattr__ c... | blhsing | 2019-09-11 | 2 | -0/+26 |
|
|
* | bpo-36373: Fix deprecation warnings (GH-15889) | Andrew Svetlov | 2019-09-11 | 1 | -4/+6 |
|
|
* | bpo-37251: Removes __code__ check from _is_async_obj. (GH-15830) | Lisa Roach | 2019-09-10 | 2 | -3/+17 |
|
|
* | docs: Add references to AsyncMock in unittest.mock.patch (#13681) | Mario Corchero | 2019-09-09 | 1 | -4/+5 |
|
|
* | bpo-34596: Fallback to a default reason when @unittest.skip is uncalled (#9082) | Naitree Zhu | 2019-09-09 | 2 | -0/+16 |
|
|
* | bpo-37212: Preserve keyword argument order in unittest.mock.call and error me... | Xtreak | 2019-09-09 | 2 | -4/+4 |
|
|
* | Fix assertions regarding magic methods function body that was not executed (G... | Xtreak | 2019-09-09 | 1 | -9/+2 |
|
|
* | Fix typos mostly in comments, docs and test names (GH-15209) | Min ho Kim | 2019-08-30 | 1 | -3/+3 |
|
|
* | 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 | 2 | -1/+83 |
|
|
* | bpo-9949: Enable symlink traversal for ntpath.realpath (GH-15287) | Steve Dower | 2019-08-21 | 1 | -0/+6 |
|
|
* | bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952) | Serhiy Storchaka | 2019-08-08 | 2 | -3/+9 |
|
|
* | Fix typos in comments, docs and test names (#15018) | Min ho Kim | 2019-07-30 | 2 | -2/+2 |
|
|
* | bpo-21478: Record calls to parent when autospecced objects are used as child ... | Xtreak | 2019-07-22 | 2 | -11/+53 |
|
|
* | [3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620) | Serhiy Storchaka | 2019-06-05 | 2 | -21/+3 |
|
|
* | bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) | Serhiy Storchaka | 2019-06-01 | 3 | -78/+39 |
|
|
* | bpo-32972: Async test case (GH-13386) | Andrew Svetlov | 2019-05-29 | 4 | -5/+371 |
|
|
* | bpo-37075: Fix string concatenation in assert_has_awaits error message (GH-13... | Xtreak | 2019-05-29 | 2 | -7/+9 |
|
|
* | bpo-32299: Return patched dict when using patch.dict as a context manager (GH... | Mario Corchero | 2019-05-28 | 2 | -0/+8 |
|
|
* | bpo-36996: Handle async functions when mock.patch is used as a decorator (GH-... | Xtreak | 2019-05-28 | 2 | -27/+73 |
|
|
* | bpo-37047: Refactor AsyncMock setup logic for autospeccing (GH-13574) | Xtreak | 2019-05-27 | 2 | -23/+99 |
|
|
* | bpo-37008: make mock_open handle able to honor next() (GH-13492) | Damien Nadé | 2019-05-23 | 3 | -0/+34 |
|
|
* | 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 | 3 | -19/+941 |
|
|
* | Fix typo in test comment (GH-11442) | Ashwin Ramaswami | 2019-05-19 | 1 | -1/+1 |
|
|
* | bpo-24758: Improve the error msg for unittest.mock.Mock()'s unsafe mode (#12991) | Zackery Spytz | 2019-05-08 | 2 | -3/+5 |
|
|
* | bpo-31855: unittest.mock.mock_open() results now respects the argument of rea... | Rémi Lapeyre | 2019-05-07 | 2 | -26/+20 |
|
|
* | bpo-36542: Allow to overwrite the signature for Python functions. (GH-12705) | Serhiy Storchaka | 2019-05-06 | 1 | -1/+4 |
|
|
* | Mock 100% coverage (GH-13045) | Chris Withers | 2019-05-01 | 9 | -317/+263 |
|
|
* | remove jython support from unittest.mock (GH#13033) | Chris Withers | 2019-05-01 | 3 | -25/+2 |
|
|
* | Don't report deleted attributes in __dir__ (GH#10148) | Mario Corchero | 2019-04-30 | 2 | -2/+13 |
|
|
* | bpo-36751: Deprecate getfullargspec and report positional-only args as regula... | Pablo Galindo | 2019-04-30 | 1 | -2/+2 |
|
|
* | Document that TestCase.assertCountEqual() can take iterables (GH-686) | jkleint | 2019-04-23 | 1 | -3/+2 |
|
|
* | bpo-23078: Add support for {class,static}method to mock.create_autospec() (G... | Xtreak | 2019-04-22 | 4 | -2/+79 |
|
|