GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up|
Either we can have |
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.
|
LGTM. Thanks Mario :) |
|
@cjw296: Please replace |
mariocj89 commentedDec 14, 2019
•
edited by bedevere-bot
As the function was not registering in the active patches, the mocks
started by
mock.patch.dictwere not being stopped whenmock.patch.stopallwas being called.https://bugs.python.org/issue21600