Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pytest-dev/pytest-mock
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.13.0
Choose a base ref
...
head repository: pytest-dev/pytest-mock
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.14.0
Choose a head ref
  • 6 commits
  • 4 files changed
  • 3 contributors

Commits on Mar 21, 2024

  1. Merge pull request #418 from pytest-dev/release-3.13.0

    Release 3.13.0
    nicoddemus authored Mar 21, 2024
    Configuration menu
    Copy the full SHA
    852116b View commit details
    Browse the repository at this point in the history
  2. Export MockType/AsyncMockType for type annotations (#415)

    Fix #414 
    
    ---------
    
    Co-authored-by: Bruno Oliveira <[email protected]>
    Kilo59 and nicoddemus authored Mar 21, 2024
    Configuration menu
    Copy the full SHA
    366966b View commit details
    Browse the repository at this point in the history
  3. 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
  4. 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
  5. 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
  6. Configuration menu
    Copy the full SHA
    8733134 View commit details
    Browse the repository at this point in the history
Loading