cpython/Lib/unittest/test/testmock
Max Bélanger 6c83d9f4a7 bpo-35022: unittest.mock.MagicMock now also supports __fspath__ (GH-9960)
The MagicMock class supports many magic methods, but not __fspath__. To ease
testing with modules such as os.path, this function is now supported by default.
2018-10-25 23:48:58 +02:00
..
__init__.py
__main__.py
support.py
testcallable.py Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-09-07 12:03:06 +00:00
testhelpers.py bpo-29403: Fix mock's broken autospec behavior on method-bound builtin functions (GH-3) 2017-07-20 03:01:14 +03:00
testmagicmethods.py bpo-35022: unittest.mock.MagicMock now also supports __fspath__ (GH-9960) 2018-10-25 23:48:58 +02:00
testmock.py bpo-32933: Implement __iter__ method on mock_open() (GH-5974) 2018-09-13 01:21:16 +03:00
testpatch.py Fixes issue28380: unittest.mock Mock autospec functions now properly support 2016-10-06 14:31:23 -07:00
testsealable.py bpo-30541: Add new method to seal mocks (GH61923) 2017-10-17 04:35:11 -07:00
testsentinel.py Issue #20804: The unittest.mock.sentinel attributes now preserve their 2017-01-11 20:13:03 +02:00
testwith.py bpo-32933: Implement __iter__ method on mock_open() (GH-5974) 2018-09-13 01:21:16 +03:00