3.5.0 (2021-01-04)
- Now all patch functions will emit a warning instead of raising a
ValueErrorwhen used
as a context-manager. Thanks @iforapsy for the PR (#221). - Additionally,
mocker.patch.context_manageris available when the user intends to mock
a context manager (for examplethreading.Lockobject), which will not emit that
warning.