summaryrefslogtreecommitdiff
path: root/mock/mock.py
AgeCommit message (Expand)Author
2019-05-07bpo-31855: unittest.mock.mock_open() results now respects the argument of rea...Rémi Lapeyre
2019-05-04Preparing for 3.0.4 release.Chris Withers
2019-05-02Preparing for 3.0.3 release.Chris Withers
2019-05-02Use basestring when checking for dictionary patching.Chris Withers
2019-05-02Preparing for 3.0.2 release.Chris Withers
2019-05-02Preparing for 3.0.1 release.Chris Withers
2019-05-02Preparing for 3.0.0 release.Chris Withers
2019-05-02Not used, see 637abcba241a69a1d9a8acf240855a6ed158cb64.Chris Withers
2019-05-02make magic mocks work on pypy againChris Withers
2019-05-01Mock 100% coverage (GH-13045)Chris Withers
2019-05-01remove jython support from unittest.mock (GH#13033)Chris Withers
2019-04-30Don't report deleted attributes in __dir__ (GH#10148)Mario Corchero
2019-04-30version_info is more useful as a tuple of ints.Chris Withers
2019-04-30remove pbr and replace with simpler to understand and discover code.Chris Withers
2019-04-30bpo-23078: Add support for {class,static}method to mock.create_autospec() (G...Xtreak
2019-04-30bpo-36366: Return None on stopping unstarted patch object (GH-12472)Xtreak
2019-04-30bpo-21269: Provide args and kwargs attributes on mock call objects GH11807Kumar Akshay
2019-04-30Autospec functions should propagate mock calls to parent GH-11273Xtreak
2019-04-30bpo-35512: Resolve string target to patch.dict decorator during function call...Xtreak
2019-04-30bpo-35500: align expected and actual calls on mock.assert_called_with error m...Susan Su
2019-04-30Py2-compatible super callChris Withers
2019-04-30bpo-20239: Allow repeated deletion of unittest.mock.Mock attributes (#11057)Pablo Galindo
2019-04-30Fix mock_open docstring to use readline (#11176)Xtreak
2019-04-30These appear to be unsued.Chris Withers
2019-04-30fix double patching on Py2.Chris Withers
2019-04-30bpo-17185: Add __signature__ to mock that can be used by inspect for signatur...Xtreak
2019-04-30bpo-35330: Don't call the wrapped object if `side_effect` is set (GH10973)Mario Corchero
2019-04-30bpo-35357: Add _mock_ prefix to name/parent/from_kall attributes of _Call/_Ma...Andrew Dunai
2019-04-30bpo-35226: Fix equality for nested unittest.mock.call objects. (#10555)Chris Withers
2019-04-30bpo-31177: Skip deleted attributes while calling reset_mock (GH-9302)Xtreak
2019-04-30bpo-35133: Fix mistakes when concatenate string literals on different lines. ...Serhiy Storchaka
2019-04-30rewrite f-string.Chris Withers
2019-04-30bpo-35047, unittest.mock: Better error messages on assert_called_xxx failures...Petter Strandmark
2019-04-30fspath added in 3.6Chris Withers
2019-04-30bpo-35022: unittest.mock.MagicMock now also supports __fspath__ (GH-9960)Max Bélanger
2019-04-30unittest.mock doc: Fix references to recursive seal of Mocks (GH-9028)Mario Corchero
2019-04-30No 'yield from' in Python 2.Chris Withers
2019-04-30bpo-32933: Implement __iter__ method on mock_open() (GH-5974)Tony Flury
2019-04-30Improve error message when mock.assert_has_calls fails (GH-8205)davidair
2019-04-30bpo-33516: Add support for __round__ in MagicMock (GH-6880)John Reese
2019-04-30no f-strings in py2.Chris Withers
2019-04-30bpo-30541: Add new method to seal mocks (GH61923)Mario Corchero
2019-04-30bpo-28911: Clarify the behaviour of assert_called_once_with. (#251)Arne de Laat
2019-04-30Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY.Serhiy Storchaka
2019-04-30Serhiy's approach didn't work on Python 2 or 3.4Chris Withers
2019-04-30Issue #20804: The unittest.mock.sentinel attributes now preserve theirSerhiy Storchaka
2019-04-30Fix unittest.mock._Call: don't ignore nameVictor Stinner
2019-04-30Issue #26750: use inspect.isdatadescriptor instead of our ownGregory P. Smith
2019-04-30Issue #26750: unittest.mock.create_autospec() now works properlyGregory P. Smith
2019-04-27English spelling and grammar fixesMartin Panter