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: testing-cabal/mock
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5.0.0
Choose a base ref
...
head repository: testing-cabal/mock
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5.0.1
Choose a head ref
  • 10 commits
  • 6 files changed
  • 4 contributors

Commits on Jan 3, 2023

  1. Update issue templates

    cjw296 authored Jan 3, 2023
    Configuration menu
    Copy the full SHA
    135ca36 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2023

  1. gh-100739: Respect mock spec when checking for unsafe prefixes (#100740)

    Co-authored-by: Nikita Sobolev <[email protected]>
    Backports: 7f1eefc6f4843f0fca60308f557a71af11d18a53
    Signed-off-by: Chris Withers <[email protected]>
    2 people authored and cjw296 committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    aeca482 View commit details
    Browse the repository at this point in the history
  2. gh-100690: Raise an AttributeError when the assert_ prefix is forgott…

    …en when using Mock (#100691)
    
    Mock objects which are not unsafe will now raise an AttributeError when accessing an
    attribute that matches the name of an assertion but without the prefix `assert_`, e.g. accessing `called_once` instead of `assert_called_once`.
    
    This is in addition to this already happening for accessing attributes with prefixes assert, assret, asert, aseert, and assrt.
    
    Backports: 1d4d677d1c90fcf4886ded0bf04b8f9d5b60b909
    Signed-off-by: Chris Withers <[email protected]>
    cklein authored and cjw296 committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    21787a9 View commit details
    Browse the repository at this point in the history
  3. gh-100690: [mock] hide ATTRIB_DENY_LIST and make it immutable (#100…

    …819)
    
    Backports: a109454e828ce2d9bde15dea78405f8ffee653ec
    Signed-off-by: Chris Withers <[email protected]>
    sobolevn authored and cjw296 committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    18046f1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5219601 View commit details
    Browse the repository at this point in the history
  5. gh-96127: Fix inspect.signature call on mocks (#96335)

    Backports: 9e7d7266ecdcccc02385fe4ccb094f3444102e26
    Signed-off-by: Chris Withers <[email protected]>
    sobolevn authored and cjw296 committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    ee9744d View commit details
    Browse the repository at this point in the history
  6. fix up mock tests coverage

    Backports: d3642c9a6a65d7edee2ea210d02a75a364df186e
    Signed-off-by: Chris Withers <[email protected]>
    cjw296 committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    7df4d38 View commit details
    Browse the repository at this point in the history
  7. latest sync point

    cjw296 committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    296d856 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    696fb23 View commit details
    Browse the repository at this point in the history
  9. Preparing for 5.0.1 release.

    cjw296 committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    921fad1 View commit details
    Browse the repository at this point in the history
Loading