cpython/Lib/unittest/test/testmock
Mario Corchero e131c9720d Fix mock.patch.dict to be stopped with mock.patch.stopall (#17606)
As the function was not registering in the active patches, the mocks
started by `mock.patch.dict` were not being stopped when
`mock.patch.stopall` was being called.
2020-01-24 08:38:32 +00:00
..
__init__.py
__main__.py
support.py Mock 100% coverage (GH-13045) 2019-05-01 23:04:04 +01:00
testasync.py Improve test coverage for AsyncMock. (GH-17906) 2020-01-15 09:49:49 +00:00
testcallable.py Mock 100% coverage (GH-13045) 2019-05-01 23:04:04 +01:00
testhelpers.py bpo-37555: Update _CallList.__contains__ to respect ANY (#14700) 2019-09-13 16:54:32 +01:00
testmagicmethods.py bpo-38108: Makes mock objects inherit from Base (GH-16060) 2019-09-28 18:42:44 -07:00
testmock.py bpo-36871: Avoid duplicated 'Actual:' in assertion message (GH-16361) 2019-09-24 15:04:29 -07:00
testpatch.py Fix mock.patch.dict to be stopped with mock.patch.stopall (#17606) 2020-01-24 08:38:32 +00:00
testsealable.py Mock 100% coverage (GH-13045) 2019-05-01 23:04:04 +01:00
testsentinel.py Issue #20804: The unittest.mock.sentinel attributes now preserve their 2017-01-11 20:13:03 +02:00
testwith.py bpo-37008: make mock_open handle able to honor next() (GH-13492) 2019-05-23 03:03:25 -07:00