Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 3.14.0 #419

Merged
merged 4 commits into from
Mar 21, 2024
Merged

Release 3.14.0 #419

merged 4 commits into from
Mar 21, 2024

Commits on Mar 21, 2024

  1. Drop pre-Python 3.8 support code

    pytest-mock only supports Python 3.8+ since version 3.12.
    nicoddemus committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    6bd8712 View commit details
    Browse the repository at this point in the history
  2. Fix regression with mocker.patch not being undone correctly

    The problem was introduced due to a bug in #417 which escaped review: we should always add a mock object to the cache, even if a similar one already exists.
    
    Fix #420
    nicoddemus committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    4faf92a View commit details
    Browse the repository at this point in the history
  3. Refactor MockCache to have a narrow interface

    It should also be responsible for stopping the patchers, instead of acting merely as storage.
    
    Follow up the previous commit.
    nicoddemus committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    5257e3c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8733134 View commit details
    Browse the repository at this point in the history