summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/test/testmock/testmagicmethods.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-33516: Add support for __round__ in MagicMock (GH-6880)John Reese2018-05-221-0/+5
| | | unittest.mock.MagicMock now supports the __round__() magic method.
* bpo-32297: Few misspellings found in Python source code comments. (#4803)Mike2017-12-141-1/+1
| | | | | | | | * Fix multiple typos in code comments * Add spacing in comments (test_logging.py, test_math.py) * Fix spaces at the beginning of comments in test_logging.py
* Spelling fixes (#2902)Ville Skyttä2017-08-031-1/+1
|
* Issue #23277: Remove unused imports in tests.Serhiy Storchaka2016-04-241-1/+0
|
* Issue #23310: Fix MagicMock's initializer to work with __methods__.Łukasz Langa2015-04-141-0/+15
| | | | Behavior equivalent to m.configure_mock(). Patch by Kasia Jachim.
* Issue #23568: Add rdivmod support to MagicMock() objects.Berker Peksag2015-03-141-0/+15
|\ | | | | | | Patch by Håkan Lövdahl.
| * Issue #23568: Add rdivmod support to MagicMock() objects.Berker Peksag2015-03-141-0/+15
| | | | | | | | Patch by Håkan Lövdahl.
* | Issue #23581: Add matmul support to MagicMock.Berker Peksag2015-03-121-0/+11
|/ | | | Patch by Håkan Lövdahl.
* Issue 20968. unittest.mock.MagicMock now supports divisionMichael Foord2014-04-141-0/+25
|
* Issue #19594: Use specific asserts in unittest tests.Serhiy Storchaka2013-11-161-4/+4
|
* Fix exception when calling reset_mock on a mock created with autospecMichael Foord2012-06-091-0/+8
|
* unittest.mock.MagicMock objects are now unorderable by defaultMichael Foord2012-03-251-0/+13
|
* PEP 417: Adding unittest.mockMichael Foord2012-03-141-0/+382