commit | e131c9720d087c0c4988bd2a5c62020feb9d1d77 | [log] [tgz] |
---|---|---|
author | Mario Corchero <mariocj89@gmail.com> | Fri Jan 24 08:38:33 2020 +0000 |
committer | Chris Withers <chris@withers.org> | Fri Jan 24 08:38:32 2020 +0000 |
tree | 209230859dbb25990ed04ce139bf06abac490e04 | |
parent | 1d0c5e16eab29d55773cc4196bb90d2bf12e09dd [diff] |
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.