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.
M
Mario Corchero committed
e131c9720d087c0c4988bd2a5c62020feb9d1d77
Parent: 1d0c5e1
Committed by Chris Withers <chris@withers.org>
on 1/24/2020, 8:38:32 AM