pyitau
pyitau copied to clipboard
Bump pytest-mock from 3.10.0 to 3.14.0
Bumps pytest-mock from 3.10.0 to 3.14.0.
Release notes
Sourced from pytest-mock's releases.
v3.14.0
- #415:
MockTypeandAsyncMockTypecan be imported frompytest_mockfor type annotation purposes.- #420: Fixed a regression which would cause
mocker.patch.objectto not being properly cleared between tests.v3.13.0
- #417:
spynow hasspy_return_list, which is a list containing all the values returned by the spied function.pytest-mocknow requirespytest>=6.2.5.- #410: pytest-mock's
setup.pyfile is removed. If you relied on this file, e.g. to install pytest usingsetup.py install, please see Why you shouldn't invoke setup.py directly for alternatives.v3.12.0
- Added support for Python 3.12.
- Dropped support for EOL Python 3.7.
mocker.resetall()now also resets mocks created bymocker.create_autospec(#390).v3.11.1
Changelog
Sourced from pytest-mock's changelog.
3.14.0 (2024-03-21)
[#415](https://github.com/pytest-dev/pytest-mock/issues/415) <https://github.com/pytest-dev/pytest-mock/pull/415>_:MockTypeandAsyncMockTypecan be imported frompytest_mockfor type annotation purposes.
[#420](https://github.com/pytest-dev/pytest-mock/issues/420) <https://github.com/pytest-dev/pytest-mock/issues/420>_: Fixed a regression which would causemocker.patch.objectto not being properly cleared between tests.3.13.0 (2024-03-21)
[#417](https://github.com/pytest-dev/pytest-mock/issues/417) <https://github.com/pytest-dev/pytest-mock/pull/417>_:spynow hasspy_return_list, which is a list containing all the values returned by the spied function.pytest-mocknow requirespytest>=6.2.5.[#410](https://github.com/pytest-dev/pytest-mock/issues/410) <https://github.com/pytest-dev/pytest-mock/pull/410>: pytest-mock'ssetup.pyfile is removed. If you relied on this file, e.g. to install pytest usingsetup.py install, please seeWhy you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary>for alternatives.3.12.0 (2023-10-19)
- Added support for Python 3.12.
- Dropped support for EOL Python 3.7.
mocker.resetall()now also resets mocks created bymocker.create_autospec([#390](https://github.com/pytest-dev/pytest-mock/issues/390)_)... _#390: pytest-dev/pytest-mock#390
3.11.1 (2023-06-15)
(This release source code is identical to
3.11.0except a small internal fix to deployment/CI)
Fixed introspection for failed
assert_has_calls([#365](https://github.com/pytest-dev/pytest-mock/issues/365)_).Updated type annotations for
mocker.patchandmocker.spy([#364](https://github.com/pytest-dev/pytest-mock/issues/364)_)... _#365: pytest-dev/pytest-mock#365 .. _#364: pytest-dev/pytest-mock#364
3.11.0 (2023-06-15)
Fixed introspection for failed
assert_has_calls([#365](https://github.com/pytest-dev/pytest-mock/issues/365)_).Updated type annotations for
mocker.patchandmocker.spy([#364](https://github.com/pytest-dev/pytest-mock/issues/364)_)... _#365: pytest-dev/pytest-mock#365 .. _#364: pytest-dev/pytest-mock#364
Commits
8733134Update CHANGELOG for 3.14.05257e3cRefactor MockCache to have a narrow interface4faf92aFix regression with mocker.patch not being undone correctly6bd8712Drop pre-Python 3.8 support code366966bExportMockType/AsyncMockTypefor type annotations (#415)852116bMerge pull request #418 from pytest-dev/release-3.13.0ef9461bAdd instructions on how to start deploy from command-line5b9d285Release 3.13.06d5d6dcImplementspy_return_list(#417)dc28a0e[pre-commit.ci] pre-commit autoupdate (#416)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
[!IMPORTANT]
Auto Review Skipped
Bot user detected.
To trigger a single review, invoke the
@coderabbitai reviewcommand.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Tips
Chat
There are 3 ways to chat with CodeRabbit:
- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
I pushed a fix in commit <commit_id>.Generate unit-tests for this file.Open a follow-up GitHub issue for this discussion.
- Files and specific lines of code (under the "Files changed" tab): Tag
@coderabbitaiin a new review comment at the desired location with your query. Examples:@coderabbitai generate unit tests for this file.@coderabbitai modularize this function.
- PR comments: Tag
@coderabbitaiin a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:@coderabbitai generate interesting stats about this repository and render them as a table.@coderabbitai show all the console.log statements in this repository.@coderabbitai read src/utils.ts and generate unit tests.@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.
CodeRabbit Commands (invoked as PR comments)
@coderabbitai pauseto pause the reviews on a PR.@coderabbitai resumeto resume the paused reviews.@coderabbitai reviewto trigger a review. This is useful when automatic reviews are disabled for the repository.@coderabbitai resolveresolve all the CodeRabbit review comments.@coderabbitai helpto get help.
Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
CodeRabbit Configration File (.coderabbit.yaml)
- You can programmatically configure CodeRabbit by adding a
.coderabbit.yamlfile to the root of your repository. - The JSON schema for the configuration file is available here.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation:
# yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json
CodeRabbit Discord Community
Join our Discord Community to get help, request features, and share feedback.