summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/test
Commit message (Expand)AuthorAgeFilesLines
* [3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620)Serhiy Storchaka2019-06-051-3/+2
* bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)Serhiy Storchaka2019-06-011-3/+2
* bpo-32972: Async test case (GH-13386)Andrew Svetlov2019-05-291-0/+195
* bpo-37075: Fix string concatenation in assert_has_awaits error message (GH-13...Xtreak2019-05-291-2/+4
* bpo-32299: Return patched dict when using patch.dict as a context manager (GH...Mario Corchero2019-05-281-0/+7
* bpo-36996: Handle async functions when mock.patch is used as a decorator (GH-...Xtreak2019-05-281-0/+16
* bpo-37047: Refactor AsyncMock setup logic for autospeccing (GH-13574)Xtreak2019-05-271-2/+61
* bpo-37008: make mock_open handle able to honor next() (GH-13492)Damien Nadé2019-05-232-0/+28
* bpo-26467: Adds AsyncMock for asyncio Mock library support (GH-9296)Lisa Roach2019-05-202-2/+552
* 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-081-2/+3
* bpo-31855: unittest.mock.mock_open() results now respects the argument of rea...Rémi Lapeyre2019-05-071-1/+6
* Mock 100% coverage (GH-13045)Chris Withers2019-05-018-261/+258
* remove jython support from unittest.mock (GH#13033)Chris Withers2019-05-012-16/+0
* Don't report deleted attributes in __dir__ (GH#10148)Mario Corchero2019-04-301-0/+9
* bpo-36751: Deprecate getfullargspec and report positional-only args as regula...Pablo Galindo2019-04-301-2/+2
* bpo-23078: Add support for {class,static}method to mock.create_autospec() (G...Xtreak2019-04-223-1/+76
* bpo-36593: Fix isinstance check for Mock objects with spec executed under tra...Xtreak2019-04-131-0/+38
* bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637)Serhiy Storchaka2019-04-011-0/+60
* bpo-36366: Return None on stopping unstarted patch object (GH-12472)Xtreak2019-03-281-2/+10
* bpo-21269: Provide args and kwargs attributes on mock call objects GH11807Kumar Akshay2019-03-222-3/+17
* Autospec functions should propagate mock calls to parent GH-11273Xtreak2019-02-251-0/+13
* bpo-35512: Resolve string target to patch.dict decorator during function call...Xtreak2019-02-242-0/+20
* bpo-35500: align expected and actual calls on mock.assert_called_with error m...Susan Su2019-02-141-7/+8
* bpo-35767: Fix unittest.loader to allow partials as test_functions (#11600)Jason Fried2019-01-231-0/+16
* bpo-20239: Allow repeated deletion of unittest.mock.Mock attributes (#11057)Pablo Galindo2019-01-211-0/+27
* Add test for double patching instance methods (#11085)Anthony Sottile2018-12-121-0/+14
* bpo-17185: Add __signature__ to mock that can be used by inspect for signatur...Xtreak2018-12-121-0/+30
* bpo-35330: Don't call the wrapped object if `side_effect` is set (GH10973)Mario Corchero2018-12-081-0/+122
* bpo-33747: Avoid mutating the global sys.modules dict in unittest.mock tests ...Anirudha Bose2018-12-071-11/+16
* Remove unused function in `testmock/support.py` (GH-10975)Mario Corchero2018-12-061-7/+0
* bpo-35357: Add _mock_ prefix to name/parent/from_kall attributes of _Call/_Ma...Andrew Dunai2018-12-042-2/+16
* bpo-35226: Fix equality for nested unittest.mock.call objects. (#10555)Chris Withers2018-12-032-0/+67
* bpo-32153: Add unit test for create_autospec with partial function returned i...Xtreak2018-12-031-0/+14
* bpo-31177: Skip deleted attributes while calling reset_mock (GH-9302)Xtreak2018-12-011-0/+10
* Use assertEqual to fix DeprecationWarning. (GH-10794)Xtreak2018-11-291-1/+1
* bpo-24412: Adds cleanUps for setUpClass and setUpModule. (GH-9190)Lisa Roach2018-11-091-4/+606
* bpo-35047, unittest.mock: Better error messages on assert_called_xxx failures...Petter Strandmark2018-10-281-0/+30
* bpo-35022: unittest.mock.MagicMock now also supports __fspath__ (GH-9960)Max Bélanger2018-10-251-0/+10
* bpo-34900: Make TestCase.debug() work with subtests (GH-9707)Bruno Oliveira2018-10-121-0/+14
* bpo-32933: Implement __iter__ method on mock_open() (GH-5974)Tony Flury2018-09-122-0/+25
* bpo-34318: Convert deprecation warnings to errors in assertRaises() etc. (GH-...Serhiy Storchaka2018-08-191-12/+8
* bpo-33746: Fix test_unittest.testRegisterResult() in verbose mode (GH-7799)Victor Stinner2018-06-201-9/+6
* bpo-33748: fix tests altering sys.path and sys.modules (GH-7433)Tal Einat2018-06-101-19/+20
* bpo-33516: Add support for __round__ in MagicMock (GH-6880)John Reese2018-05-221-0/+5
* bpo-32746: Fix multiple typos (GH-5144)Leo Arias2018-02-041-2/+2
* bpo-32593: Drop FreeBSD 9 and older support (#5232)Victor Stinner2018-01-221-8/+0
* bpo-32297: Few misspellings found in Python source code comments. (#4803)Mike2017-12-141-1/+1
* bpo-32230: Set sys.warnoptions with -X dev (#4820)Victor Stinner2017-12-121-1/+1
* bpo-32071: Fix regression and add What's New entry (#4589)Jonas Haag2017-11-281-0/+23