github pytest-dev/pytest-mock v3.5.0
3.5.0 (2021-01-04)

latest releases: v3.14.0, v3.13.0, v3.12.0...
3 years ago
  • Now all patch functions will emit a warning instead of raising a ValueError when used
    as a context-manager. Thanks @iforapsy for the PR (#221).
  • Additionally, mocker.patch.context_manager is available when the user intends to mock
    a context manager (for example threading.Lock object), which will not emit that
    warning.

Don't miss a new pytest-mock release

NewReleases is sending notifications on new releases.