summaryrefslogtreecommitdiffstats
path: root/Lib/unittest
Commit message (Expand)AuthorAgeFilesLines
* Autospec functions should propagate mock calls to parent GH-11273Xtreak2019-02-252-0/+21
* bpo-35512: Resolve string target to patch.dict decorator during function call...Xtreak2019-02-243-2/+22
* bpo-35500: align expected and actual calls on mock.assert_called_with error m...Susan Su2019-02-142-9/+13
* bpo-35767: Fix unittest.loader to allow partials as test_functions (#11600)Jason Fried2019-01-232-1/+19
* bpo-20239: Allow repeated deletion of unittest.mock.Mock attributes (#11057)Pablo Galindo2019-01-212-4/+30
* Fix mock_open docstring to use readline (#11176)Xtreak2018-12-201-1/+1
* bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180)Victor Stinner2018-12-171-2/+2
* 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-122-2/+34
* bpo-35330: Don't call the wrapped object if `side_effect` is set (GH10973)Mario Corchero2018-12-082-11/+132
* 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-043-16/+30
* bpo-35226: Fix equality for nested unittest.mock.call objects. (#10555)Chris Withers2018-12-033-23/+99
* 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-012-1/+11
* 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-094-18/+705
* bpo-35133: Fix mistakes when concatenate string literals on different lines. ...Serhiy Storchaka2018-11-051-1/+1
* bpo-35047, unittest.mock: Better error messages on assert_called_xxx failures...Petter Strandmark2018-10-282-8/+58
* bpo-35022: unittest.mock.MagicMock now also supports __fspath__ (GH-9960)Max Bélanger2018-10-252-0/+12
* unittest.mock doc: Fix references to recursive seal of Mocks (GH-9028)Mario Corchero2018-10-191-5/+4
* bpo-34900: Make TestCase.debug() work with subtests (GH-9707)Bruno Oliveira2018-10-122-1/+15
* bpo-32933: Implement __iter__ method on mock_open() (GH-5974)Tony Flury2018-09-123-3/+31
* bpo-34318: Convert deprecation warnings to errors in assertRaises() etc. (GH-...Serhiy Storchaka2018-08-192-19/+10
* Improve error message when mock.assert_has_calls fails (GH-8205)davidair2018-08-171-1/+3
* bpo-33746: Fix test_unittest.testRegisterResult() in verbose mode (GH-7799)Victor Stinner2018-06-201-9/+6
* pypi.python.org -> pypi.org (GH-7613)Ned Deily2018-06-111-1/+1
* 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-222-1/+6
* bpo-32746: Fix multiple typos (GH-5144)Leo Arias2018-02-041-2/+2
* bpo-32360: unittest.util: Use Counter instead of custom count function (GH-4994)Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2018-01-241-9/+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-282-2/+26
* bpo-32071: Add unittest -k option (#4496)Jonas Haag2017-11-254-14/+90
* Fix miscellaneous typos (#4275)luzpaz2017-11-051-1/+1
* Update TestCase.assertAlmostEqual and assertNotAlmostEqual docstrings. (GH-3998)Ron2017-10-181-2/+3
* bpo-30541: Add new method to seal mocks (GH61923)Mario Corchero2017-10-172-2/+222
* bpo-30397: Add re.Pattern and re.Match. (#1646)Serhiy Storchaka2017-10-041-2/+2
* Spelling fixes (#2902)Ville Skyttä2017-08-031-1/+1
* bpo-29403: Fix mock's broken autospec behavior on method-bound builtin functi...Aaron Gallagher2017-07-202-1/+16
* bpo-30813: Fix unittest when hunting refleaks (#2502)Victor Stinner2017-06-301-0/+6
* bpo-30664: The description of a unittest subtest now preserves the (#2265)Serhiy Storchaka2017-06-232-7/+26
* #30190: fix invalid escape sequence warnings (#1534)Giampaolo Rodola2017-05-101-3/+3
* bpo-30190: improved error msg for assertAlmostEqual(delta=...) (#1331)Giampaolo Rodola2017-05-012-17/+26
* bpo-30078: Add an example of passing a path to unittest (#1178)Louie Lu2017-04-201-0/+1
* bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051)Serhiy Storchaka2017-04-161-2/+2
* Fix ref cycles in TestCase.assertRaises() (#193)Victor Stinner2017-03-272-22/+43