Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 17, 2023

Bumps mock from 5.0.1 to 5.1.0.

Changelog

Sourced from mock's changelog.

5.1.0

  • bpo-44185: :func:unittest.mock.mock_open will call the :func:close method of the file handle mock when it is exiting from the context manager. Patch by Samet Yaslan.

  • gh-94924: :func:unittest.mock.create_autospec now properly returns coroutine functions compatible with :func:inspect.iscoroutinefunction

  • bpo-17013: Add ThreadingMock to :mod:unittest.mock that can be used to create Mock objects that can wait until they are called. Patch by Karthikeyan Singaravelan and Mario Corchero.

  • bpo-41768: :mod:unittest.mock speccing no longer calls class properties. Patch by Melanie Witt.

5.0.2

  • gh-102978: Fixes :func:unittest.mock.patch not enforcing function signatures for methods decorated with @classmethod or @staticmethod when patch is called with autospec=True.

  • gh-103329: Regression tests for the behaviour of unittest.mock.PropertyMock were added.

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@codecov-commenter
Copy link

codecov-commenter commented Jul 17, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.05% ⚠️

Comparison is base (5ab1150) 80.37% compared to head (586230c) 80.33%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #251      +/-   ##
==========================================
- Coverage   80.37%   80.33%   -0.05%     
==========================================
  Files          27       27              
  Lines        4118     4118              
  Branches      730      730              
==========================================
- Hits         3310     3308       -2     
- Misses        678      680       +2     
  Partials      130      130              

see 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dependabot dependabot bot force-pushed the dependabot/pip/mock-5.1.0 branch from 52deb25 to aec44de Compare July 19, 2023 08:49
@dependabot dependabot bot force-pushed the dependabot/pip/mock-5.1.0 branch from aec44de to 296de02 Compare July 28, 2023 06:22
Bumps [mock](https://github.com/testing-cabal/mock) from 5.0.1 to 5.1.0.
- [Changelog](https://github.com/testing-cabal/mock/blob/master/CHANGELOG.rst)
- [Commits](testing-cabal/mock@5.0.1...5.1.0)

---
updated-dependencies:
- dependency-name: mock
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/mock-5.1.0 branch from 296de02 to 586230c Compare July 28, 2023 06:22
@pmrowla pmrowla merged commit 5490b00 into main Sep 4, 2023
@pmrowla pmrowla deleted the dependabot/pip/mock-5.1.0 branch September 4, 2023 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants