summaryrefslogtreecommitdiffstats
path: root/Lib/unittest
Commit message (Expand)AuthorAgeFilesLines
* Improve test coverage for AsyncMock. (GH-17906)Karthikeyan Singaravelan2020-01-151-4/+49
* remove unused __version__ from mock.py (#17977)Chris Withers2020-01-131-2/+0
* bpo-38669: patch.object now raises a helpful error (GH17034)Elena Oat2019-12-082-0/+8
* bpo-38857: AsyncMock fix for awaitable values and StopIteration fix [3.8] (GH...Jason Fried2019-11-212-41/+95
* Remove binding of captured exceptions when not used to reduce the chances of ...Pablo Galindo2019-11-191-1/+1
* bpo-38839: Fix some unused functions in tests (GH-17189)Adam Johnson2019-11-191-0/+1
* bpo-38163: Child mocks detect their type as sync or async (GH-16471)Lisa Roach2019-09-302-27/+45
* bpo-38161: Removes _AwaitEvent from AsyncMock. (GH-16443)Lisa Roach2019-09-302-39/+1
* bpo-38108: Makes mock objects inherit from Base (GH-16060)Lisa Roach2019-09-293-57/+56
* bpo-36871: Avoid duplicated 'Actual:' in assertion message (GH-16361)Samuel Freilich2019-09-243-18/+32
* bpo-36871: Handle spec errors in assert_has_calls (GH-16005)Samuel Freilich2019-09-243-5/+61
* bpo-38136: Updates await_count and call_count to be different things (GH-16192)Lisa Roach2019-09-243-18/+191
* bpo-38093: Correctly returns AsyncMock for async subclasses. (GH-15947)Lisa Roach2019-09-203-55/+161
* bpo-37828: Fix default mock_name in unittest.mock.assert_called error (GH-16166)Abraham Toriz Cruz2019-09-172-1/+9
* bpo-38100: Fix spelling error in unittest.mock code (GH-16168)marcoramirezmx2019-09-161-3/+3
* bpo-38122: minor fixes to AsyncMock spec handling (GH-16099)Michael Foord2019-09-131-11/+8
* bpo-37555: Update _CallList.__contains__ to respect ANY (#14700)Elizabeth Uselton2019-09-133-13/+79
* bpo-37972: unittest.mock._Call now passes on __getitem__ to the __getattr__ c...blhsing2019-09-112-0/+26
* bpo-36373: Fix deprecation warnings (GH-15889)Andrew Svetlov2019-09-111-4/+6
* bpo-37251: Removes __code__ check from _is_async_obj. (GH-15830)Lisa Roach2019-09-102-3/+17
* docs: Add references to AsyncMock in unittest.mock.patch (#13681)Mario Corchero2019-09-091-4/+5
* bpo-34596: Fallback to a default reason when @unittest.skip is uncalled (#9082)Naitree Zhu2019-09-092-0/+16
* bpo-37212: Preserve keyword argument order in unittest.mock.call and error me...Xtreak2019-09-092-4/+4
* Fix assertions regarding magic methods function body that was not executed (G...Xtreak2019-09-091-9/+2
* Fix typos mostly in comments, docs and test names (GH-15209)Min ho Kim2019-08-301-3/+3
* bpo-36743: __get__ is sometimes called without the owner argument (#12992)Raymond Hettinger2019-08-291-1/+1
* bpo-35946: Improve assert_called_with documentation (GH-11796)Rémi Lapeyre2019-08-291-1/+1
* bpo-36871: Ensure method signature is used when asserting mock calls to a met...Xtreak2019-08-292-1/+83
* bpo-9949: Enable symlink traversal for ntpath.realpath (GH-15287)Steve Dower2019-08-211-0/+6
* bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952)Serhiy Storchaka2019-08-082-3/+9
* Fix typos in comments, docs and test names (#15018)Min ho Kim2019-07-302-2/+2
* bpo-21478: Record calls to parent when autospecced objects are used as child ...Xtreak2019-07-222-11/+53
* [3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620)Serhiy Storchaka2019-06-052-21/+3
* bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)Serhiy Storchaka2019-06-013-78/+39
* bpo-32972: Async test case (GH-13386)Andrew Svetlov2019-05-294-5/+371
* bpo-37075: Fix string concatenation in assert_has_awaits error message (GH-13...Xtreak2019-05-292-7/+9
* bpo-32299: Return patched dict when using patch.dict as a context manager (GH...Mario Corchero2019-05-282-0/+8
* bpo-36996: Handle async functions when mock.patch is used as a decorator (GH-...Xtreak2019-05-282-27/+73
* bpo-37047: Refactor AsyncMock setup logic for autospeccing (GH-13574)Xtreak2019-05-272-23/+99
* bpo-37008: make mock_open handle able to honor next() (GH-13492)Damien Nadé2019-05-233-0/+34
* Fix RuntimeWarning in unittest.mock asyncio example (GH-13449)Xtreak2019-05-211-1/+1
* bpo-26467: Adds AsyncMock for asyncio Mock library support (GH-9296)Lisa Roach2019-05-203-19/+941
* Fix typo in test comment (GH-11442)Ashwin Ramaswami2019-05-191-1/+1
* bpo-24758: Improve the error msg for unittest.mock.Mock()'s unsafe mode (#12991)Zackery Spytz2019-05-082-3/+5
* bpo-31855: unittest.mock.mock_open() results now respects the argument of rea...Rémi Lapeyre2019-05-072-26/+20
* bpo-36542: Allow to overwrite the signature for Python functions. (GH-12705)Serhiy Storchaka2019-05-061-1/+4
* Mock 100% coverage (GH-13045)Chris Withers2019-05-019-317/+263
* remove jython support from unittest.mock (GH#13033)Chris Withers2019-05-013-25/+2
* Don't report deleted attributes in __dir__ (GH#10148)Mario Corchero2019-04-302-2/+13
* bpo-36751: Deprecate getfullargspec and report positional-only args as regula...Pablo Galindo2019-04-301-2/+2